From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: creating unibyte strings Date: Tue, 26 Mar 2019 18:23:48 +0800 Message-ID: References: <83y3b4wdw9.fsf@gnu.org> <83tvhal45r.fsf@gnu.org> <83h8bwt1on.fsf@gnu.org> <83bm24t0hv.fsf@gnu.org> <83wokrs6en.fsf@gnu.org> <837ecrrqdm.fsf@gnu.org> <83sgvfq6yv.fsf@gnu.org> <83ftrcnqp0.fsf@gnu.org> <8336nboc2i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000033b3de0584fcbaaf" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200843"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 26 11:24:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8jG8-000q6r-Sv for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2019 11:24:45 +0100 Original-Received: from localhost ([127.0.0.1]:56443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8jG7-0004rF-Pe for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2019 06:24:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8jG2-0004r5-0j for emacs-devel@gnu.org; Tue, 26 Mar 2019 06:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8jG1-0002rP-5h for emacs-devel@gnu.org; Tue, 26 Mar 2019 06:24:37 -0400 Original-Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:44516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8jFz-0002qB-Jk; Tue, 26 Mar 2019 06:24:35 -0400 Original-Received: by mail-io1-xd32.google.com with SMTP id u12so10261180iop.11; Tue, 26 Mar 2019 03:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UK0h9U49G/OP46lMOF6AISTdyeNnWzmDsNy0ukU+7u4=; b=fepUViUxvAoBIJDGDHlv9wUY2HEfvPjJNnELsHH4y2+Xub1cKKVDBbtieVI9hnoFNo 9Lf6T370gkMCa/GESghdL7rjhdbKu7alaIbUSJuHcak15NtNrWuf/71V+d/l6Kl8zFMT 0c5iWX8osmRtHcNnXP/TDT4lb8bERAvO9GoxxbrLuMqrgyh99ov2a+0/VDBJqHMtQwOD wnRGghotIumcAbxLLhRRmyCQTE1R6xVqCveK7zPICW4RRkHGqUkv4Wb6FwvTlEKFk4bH IUvU6ssE8u5miOUzC4jPmlzkW8+mge52bJrkM+AU/M18Wck7SFu90TVUFE/36dTRY5h4 IVsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UK0h9U49G/OP46lMOF6AISTdyeNnWzmDsNy0ukU+7u4=; b=rFDsiarK1zQ/92HTP7BsGpx9cdZY0YJBvni/UgZsdOqDG4n3o/U4iqvajxIRx6pXvr 5nz0hqph9PDY+EcK6stbEPBnGb7YYPEgXBWF845fFLdTKMmKYUUMawX48BwH9Bs4QJ8Q NcF978cgnmvtgUfJltj+7IHPKRAKtv3f7bXjyx74cT0xX899+Q81vVIdtbFGi7L0yD5m w2Vm3S2jDiFbF9UApdzV3S90NW+vrVltPh5luDjET1V/tNYt4As0/XuyDRsYIruvT5DD B7LW9o/tDzpZS34eLk1MJ88CaEX6PeepD4q0hoSLUf3fVF8qxUgqt0Qe9dbywzS6TWTO 1Lng== X-Gm-Message-State: APjAAAVpV/rMVXE527GWzaWVKCDTRNXTL+TcwL2uaYUDVIBafUvkP2DX qtTHaawx61STHjRRLzT18t2jcYMUs2pn1xbrm1IkcQ== X-Google-Smtp-Source: APXvYqwEfLt9dlUUfCx6dILhEqURfxBTIKy6pIwbXV2AFgMC+YhkLFVJvlg361j3QT7bOxwP38UAuPWagjIBwB3SXyw= X-Received: by 2002:a6b:c84e:: with SMTP id y75mr21904659iof.107.1553595874126; Tue, 26 Mar 2019 03:24:34 -0700 (PDT) In-Reply-To: <8336nboc2i.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d32 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234738 Archived-At: --00000000000033b3de0584fcbaaf Content-Type: text/plain; charset="UTF-8" On Mon, 25 Mar 2019 at 11:41, Eli Zaretskii wrote: > I guess I was asking why is this done in Lisp, not in C. The > decrypted stuff is human-readable text, is it not? Then why would a > Lisp program want to see the encrypted byte array? > No, it's not. This is called from the backend protocol implementation of IMAP, for example. When Gnus wants to load a mailbox, it calls the IMAP code (Elisp) which then calls into GSSAPI to perform the decryption of the underlying packets. Regards, Elias --00000000000033b3de0584fcbaaf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 25 Mar 2019 at 11:41, Eli Zaretsk= ii <eliz@gnu.org> wrote:
=C2=A0
I guess I was asking why is this done in Lisp, not in C.=C2=A0 The
decrypted stuff is human-readable text, is it not?=C2=A0 Then why would a Lisp program want to see the encrypted byte array?
No, it's not. This is called from the backend protocol impl= ementation of IMAP, for example. When Gnus wants to load a mailbox, it call= s the IMAP code (Elisp) which then calls into GSSAPI to perform the decrypt= ion of the underlying packets.

Regards,
= Elias
--00000000000033b3de0584fcbaaf--