From c6dadc20eb43ac6617ad8f9dfa3e3803e2195162 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 20 Dec 2013 10:49:01 -0800 Subject: [PATCH] Add CAST5 block size to PGPPacket._cipher_block_size From RFC 4880 [1]: CAST5 (128 bit key, as per [RFC2144]) From RFC 2144 [2]: CAST-128 is a 12- or 16-round Feistel cipher that has a blocksize of 64 bits and a keysize of up to 128 bits... [1]: http://tools.ietf.org/search/rfc4880#section-9.2 [2]: http://tools.ietf.org/search/rfc2144#section-2.7 --- gpg-migrate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gpg-migrate.py b/gpg-migrate.py index 0c7f336..7b51b72 100755 --- a/gpg-migrate.py +++ b/gpg-migrate.py @@ -103,6 +103,7 @@ class PGPPacket (dict): 'aes with 128-bit key': 128, 'aes with 192-bit key': 128, 'aes with 256-bit key': 128, + 'cast5': 64, } _compression_algorithms = { -- 2.26.2