diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-01 16:35:53 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-01 16:35:53 +0100 |
commit | b87f0b2658c471a5c4186f9c874ad52b070b5f1d (patch) | |
tree | d118eb6a633572db3199d239ce1979e1240c6bc0 | |
parent | c4340b2379199e26fc3301527b797c9bf7c79c7b (diff) | |
download | open-keychain-b87f0b2658c471a5c4186f9c874ad52b070b5f1d.tar.gz open-keychain-b87f0b2658c471a5c4186f9c874ad52b070b5f1d.tar.bz2 open-keychain-b87f0b2658c471a5c4186f9c874ad52b070b5f1d.zip |
save fingerprint on save
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java index 5e902d344..a4992163a 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java @@ -306,6 +306,7 @@ public class ProviderHelper { values.put(Keys.KEY_RING_ROW_ID, keyRingRowId); values.put(Keys.KEY_DATA, key.getEncoded()); values.put(Keys.RANK, rank); + values.put(Keys.FINGERPRINT, key.getFingerprint()); Uri uri = Keys.buildPublicKeysUri(Long.toString(keyRingRowId)); @@ -357,6 +358,7 @@ public class ProviderHelper { values.put(Keys.KEY_RING_ROW_ID, keyRingRowId); values.put(Keys.KEY_DATA, key.getEncoded()); values.put(Keys.RANK, rank); + values.put(Keys.FINGERPRINT, key.getPublicKey().getFingerprint()); Uri uri = Keys.buildSecretKeysUri(Long.toString(keyRingRowId)); |