emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GPGME


From: Daiki Ueno
Subject: Re: GPGME
Date: Thu, 30 Jun 2011 03:41:52 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> The standard OpenPGP format described in the 90-page RFC is extremely
> flexible and powerful (it's packet based and has more options than GNU
> ls); I think it would be a lot of work to implement it even for just a
> few symmetric ciphers.

It is not that complex - for symmetric encryption, only limited part is
used.  Try:

  $ gpg --list-packets aaa.txt.gpg
  :symkey enc packet: version 4, cipher 3, s2k 3, hash 2
        salt 071379daac57c0c1, count 65536 (96)
  gpg: CAST5 encrypted data
  :encrypted data packet:
        length: 32
  gpg: encrypted with 1 passphrase
  :compressed packet: algo=1
  :literal data packet:
        mode b (62), created 1309372527, name="aaa.txt",
        raw data: 4 bytes
  gpg: WARNING: message was not integrity protected

So there is actually four packets.  Also, you could drop the support of
compression.

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]