From 05e8a05160f657a840dd663b31c4b394aabba5f6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 22 Dec 2013 11:49:30 -0800 Subject: [PATCH] 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 --- gpg-migrate.py | 1 + 1 file changed, 1 insertion(+) 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 = { -- 2.26.2