Fix crashes with Fluffys PGP applet

This commit is contained in:
Dominik Schürmann
2015-08-22 03:13:04 +02:00
parent 1d0e9bf60a
commit 08e25747da
4 changed files with 32 additions and 20 deletions

View File

@@ -206,7 +206,7 @@ public class PgpSecurityConstants {
* TODO: Ed25519
* CITE: zooko's hash function table CITE: distinguishers on SHA-256
*/
public static final int DEFAULT_HASH_ALGORITHM = HashAlgorithmTags.SHA512;
public static final int DEFAULT_HASH_ALGORITHM = HashAlgorithmTags.SHA256;
public interface OpenKeychainHashAlgorithmTags extends HashAlgorithmTags {
int USE_DEFAULT = -1;