From: W. Trevor King Date: Sun, 22 Dec 2013 19:49:30 +0000 (-0800) Subject: Add twofish block size to PGPPacket._cipher_block_size X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=05e8a05160f657a840dd663b31c4b394aabba5f6;p=gpg-migrate.git Add twofish block size to PGPPacket._cipher_block_size From RFC 4880 [1]: The AES and Twofish have a block size of 16 octets. [1]: http://tools.ietf.org/search/rfc4880#section-13.9 --- diff --git a/gpg-migrate.py b/gpg-migrate.py index 1dba898..04af597 100755 --- a/gpg-migrate.py +++ b/gpg-migrate.py @@ -112,6 +112,7 @@ class PGPPacket (dict): 'aes with 192-bit key': 128, 'aes with 256-bit key': 128, 'cast5': 64, + 'twofish': 128, } _crypto_module = {