SecurityInnovation / PGPy

Pretty Good Privacy for Python
BSD 3-Clause "New" or "Revised" License
313 stars 98 forks source link

TypeError: 'HashAlgorithm' object is not subscriptable #436

Open TheMemeSniper opened 1 year ago

TheMemeSniper commented 1 year ago

Line that causes error:

key.add_uid(uid, usage=KeyFlags.EncryptCommunications, hashes=HashAlgorithm.SHA512, ciphers=SymmetricKeyAlgorithm.AES256, compression=CompressionAlgorithm.ZLIB)