ietf-openpgp
[Top] [All Lists]

Re: private key CFB

2003-11-17 10:23:14

Douglas Maus writes:
1. In Private Key packets (tag 5, section 5.5.3), what is the bitsize of the 
CFB mode used in encrypting the secret MPI? For example, AES256 may be 
performed in CFB 1bit, CFB 8bit and CFB 128bit (1bit, 1octet, and 1block). Is 
this noted somewhere in the RFC that I'm missing?

CFB in PGP always uses one block shift widths.  That would be 128 bits for
AES.

2. Could someone please help me confirm a key from salt and passphrase?
keysize of 256 (AES 256 - algorithm 9 in section 9.2)
Iterated and salted mode (3.7.1.3)
SHA1 hash (algorithm 2 in section 9.4)
salt of 0x61f8a7c834124c3a
coded count 96 (count then 65536)
passphrase: 'passphrase'

I get
0x66913d886546e5e352edaddff30255d26a4f0b969603131df274720b68d78f6f

Sorry, I don't have time to do this.

Hal Finney

<Prev in Thread] Current Thread [Next in Thread>