[openpgp] "OpenPGP Simple"
David Leon Gil
coruus at gmail.com
Mon Mar 16 23:03:45 CET 2015
On Monday, March 16, 2015, David Shaw <dshaw at jabberwocky.com> wrote:
> On Mar 16, 2015, at 5:15 PM, David Leon Gil <coruus at gmail.com
> > Re Jon's comment above: The five-octet, new-format thing is what the
> End-to-End extension does.
> > > Yes. Last time I checked, gnupg < 2 (which is still the default on
> > > most of my systems) only generates old-style headers, whereas my
> > That depends on how you invoke gpg and whether the new packer headers
> > are required. That is required for PGP-2 compatibility.
> > Is there an option to completely disable this?
> Not in the current code, but you can of course patch it.
> > Relatedly, is there any option to not use new-format partial lengths?
> A partial length is needed to handle content as a stream - say some
> program that generates gigabytes of data (like a backup). Something large
> enough that you really don't want to have to buffer the whole thing before
> encrypting it.
I agree on that. But I think this really requires a different mode of
operation / standard. See, e.g.,
https://www.imperialviolet.org/2014/06/27/streamingencryption.html I'm not
sure that an OpenPGP WG is the right place to do this.
(Which is why I said that the scope should be limited to email-length
But, e.g., GnuPG (always?) emits partial lengths, even for data it already
knows the length of (and is << even 2^20 bytes).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-devel