Question about use of --cipher-algo AES & --openpgp when
encrypting a document
Robert J. Hansen
rjh at sixdemonbag.org
Thu Nov 2 22:50:47 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Patrick R. Dunbar wrote:
> My question: does the --openpgp switch interfere with the --cipher-algo
> AES switch?
No.
> Also is there any way to check if a gpg encrypted file is encrypted
> using AES?
Add "-vvvv" to the command-line and you'll get a ton of useful output.
E.g.:
rjhansen:~ rjh$ gpg -vvvv foo.gpg
gpg: using character set `US-ASCII'
:pubkey enc packet: version 3, algo 1, keyid 97B2C95A0569E3E6
data: [2048 bits]
gpg: public key is 0569E3E6
gpg: using subkey 0569E3E6 instead of primary key FEAF8109
You need a passphrase to unlock the secret key for
user: "Robert J. Hansen"
gpg: using subkey 0569E3E6 instead of primary key FEAF8109
2048-bit RSA key, ID 0569E3E6, created 2005-02-22 (main key ID FEAF8109)
gpg: public key encrypted data: good DEK
:encrypted data packet:
length: 311
gpg: encrypted with 2048-bit RSA key, ID 0569E3E6, created 2005-02-22
"Robert J. Hansen"
gpg: AES encrypted data
:compressed packet: algo=1
:literal data packet:
mode b (62), created 1162504119, name="rand.cc",
raw data: 472 bytes
gpg: original file name='rand.cc'
gpg: decryption okay
gpg: WARNING: message was not integrity protected
... Looks just fine to me. :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBCgAGBQJFSmg3AAoJELcA9IL+r4EJVTIIAKe+ZznM+mBsj9bDDERZkfaL
A38k/nNbRZEBc6H9ZpazbNhWDnqGNMYS3UOc40kQ20O/W/yrGyQ1IDP69pD/F7rG
HhQAW9TwG6smsPFthDlrIOEs3E50Fk6Jsc4rH5qtNIVrbGSTFNkSh1VCQ0SlJofW
+sv4MgifMr2dRMKGDi6EmwuM5yMpTjcQnbcNLTQotZR2ANnVOct7M/g2LtKqx0nX
YtUxcROe5j7t2iqcIZGr9x+5ROrScv80DdRd1lnSy34rXEtHaTMjajZ0Mxm/KwwV
7kmjemNwrc8FJRGYikjiz6405+milMIpYuhOSvwBaRAEmR5QybajhpayZN+kPac=
=JSkL
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list