passforios icon indicating copy to clipboard operation
passforios copied to clipboard

document PGP key preferences

Open txt-file opened this issue 4 years ago • 1 comments

As I am not allowed to edit the wiki I just drop my knowledge of the last 3 hours here:

supported ciphers

  • 3DES (because compatibility)
  • CAST5
  • AES128
  • AES192
  • AES256
  • https://github.com/mssun/gopenpgp/blob/master/constants/cipher.go

supported digests/hashes

  • SHA1 (because compatibility) (might print warning in the future https://github.com/ProtonMail/gopenpgp/commit/608bedaaf12c4e3eefd7518f3f898ac02524ff5a#diff-3ed80db2729dc1a52c2ab211e3e8e69eR19 )
  • SHA224
  • SHA256
  • SHA384
  • SHA512

supported compression

  • ? (I found no information for gopenpgp's compression support)

txt-file avatar Sep 11 '20 01:09 txt-file

Just figured that my GPG key preferred CAMELLIA256 over any AES. That resulted in passforios telling me:

cannot show password
openpgp: unsupported feature:
unknown cipher: 13

After changing my GPG key with gpg --edit-key 0123456789 & setpref AES256 SHA512 Uncompressed I can now unencrypt newly crypted data.

txt-file avatar Sep 11 '20 02:09 txt-file