kryptco / krypton-android

DEPRECATED Krypton turns your Android device into a U2F Authenticator: strong, unphishable 2FA.
https://krypt.co
Other
203 stars 50 forks source link

Use RSA_ENCRYPT_OR_SIGN for generated keys #97

Open nakedible-p opened 6 years ago

nakedible-p commented 6 years ago

The value RSA_SIGN_ONLY is deprecated in OpenPGP specification, being replaced by key flags. RSA_SIGN_ONLY is not supported by all GnuPG versions, so RSA_ENCRYPT_OR_SIGN should be used for compatibility.

Fixes: #96.

nakedible-p commented 6 years ago

Completely untested, as I haven't set up a proper compilation environment for this.