Commit Graph

3733 Commits

Author SHA1 Message Date
Vincent Breitmoser
993cb57d92 show "add linked id" button only for secret keys 2018-03-24 18:18:10 +01:00
Vincent Breitmoser
a363a6cacb remove "Edit Identities" button from identities card 2018-03-24 18:10:35 +01:00
Vincent Breitmoser
9a86d45bc1 token: send Ne only on last in a chain 2018-03-24 14:14:30 +01:00
Vincent Breitmoser
52c8824969 token: send expected result size as Le
This is a different take on 1c8cc99c68,
sending the expected result size. It's not what the spec says, but it's
what GnuPG does, so it should achieve good compatibility.
2018-03-22 17:28:44 +01:00
Vincent Breitmoser
1e7ed06698 usb: respect automatic PPS feature flag
If the feature flag is set, don't do PPS negotiation. Closes #2219
2018-03-22 16:46:46 +01:00
Vincent Breitmoser
03cbc36e23 some fixes for last updated times 2018-03-13 00:12:30 +01:00
Vincent Breitmoser
57a4cecbfb extract LastUpdateInteractor from KeyRepository 2018-03-12 21:45:06 +01:00
Vincent Breitmoser
37865f5c0c ditch password strength indicator 2018-03-12 15:52:56 +01:00
Vincent Breitmoser
80b8374eaa remove passphrase fragment from key creation 2018-03-12 15:51:54 +01:00
Vincent Breitmoser
66ca2e1441 Merge pull request #2253 from open-keychain/autocrypt-1.0
Autocrypt 1.0
2018-03-12 12:27:38 +01:00
Vincent Breitmoser
eb241a30d7 Improve migration mechanism 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
ca8835420d Remember "origin" of gossip keys 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
53953fb058 Add migration for autocrypt peers 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
f5d9195958 Rename database fields for consistency 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
e2f89f8d8d Use Autocrypt gossip field for deduplication 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7d2b356d1c Further small optimizations to Autocrypt logic 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
31b23d2085 Small optimizations for display of package icons in key list 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
ebe262015a Change Autocrypt logic to more closely match the spec 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
1c3f9fd27f Clean up listing of Autocrypt along identities 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
fcbaf23762 better index for Keys table 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
fe00c6727a Only look at primary key for expiry/revocation 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7c1fe18b2c Fix and optimize Autocrypt 1.0 logic 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7b268b11ed Fix up logic to match Autocrypt 1.0 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
5a2631841d add support for Autocrypt gossip key updates 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
716a1ff32f Merge pull request #2293 from open-keychain/token-brainpool
allow other curves than NIST on security tokens
2018-03-10 14:48:42 +01:00
Vincent Breitmoser
95eeb91fc7 allow other curves than NIST on security tokens 2018-03-10 13:48:58 +01:00
Vincent Breitmoser
7337293ad8 Merge pull request #2275 from open-keychain/debug
Use Constants.DEBUG instead of BuildConfig.DEBUG
2018-03-05 23:15:09 +01:00
Vincent Breitmoser
3fdc4059b5 add option to toggle self-encrypt for text 2018-03-05 14:02:48 +01:00
Vincent Breitmoser
285184d7c6 add option to toggle self-encrypt for files 2018-03-05 14:02:32 +01:00
Dominik Schürmann
6541cc57b5 Use Constants.DEBUG instead of BuildConfig.DEBUG to allow debugging of release builds 2018-02-26 14:39:54 +01:00
Dominik Schürmann
7eaabdaac1 Refactor preference upgrade 2018-02-20 16:59:03 +01:00
Dominik Schürmann
3700432bd2 Use keyserver.ubuntu.com as new default 2018-02-20 16:41:24 +01:00
Vincent Breitmoser
656903a1d8 add support for cv25519 on security tokens (currently only gnuk) 2018-02-20 01:04:47 +01:00
Vincent Breitmoser
56af349cf4 add support for EdDSA on security tokens (currently only gnuk) 2018-02-20 01:04:47 +01:00
Vincent Breitmoser
02010dab71 add cv25519 to whitelisted curves 2018-02-16 18:02:12 +01:00
Vincent Breitmoser
84d652be8b refactor ViewKeyActivity to remove field m* prefix 2018-02-12 17:51:07 +01:00
Vincent Breitmoser
b3a5b7e04a fix incorrect length in copyOfRange 2018-02-08 10:21:53 +01:00
Vincent Breitmoser
5d40822ea5 make sure CommandApdu consistently copies input data 2018-02-08 10:21:53 +01:00
Vincent Breitmoser
34f65d4f53 Check for right flag for establishing Scp11bSM 2018-01-30 11:21:43 +01:00
Vincent Breitmoser
1c8cc99c68 Don't send NE value for decryption
This is slightly more compliant to spec. OpenPGP-Applet implementations
I've looked at don't seem to care, but for some reason this still
improves compatibility. See
https://github.com/open-keychain/open-keychain/issues/2049
2018-01-24 12:02:11 +01:00
Vincent Breitmoser
bccc20ea32 Reduce max apdu length, for compatibility 2018-01-24 12:02:11 +01:00
Vincent Breitmoser
e57c111010 extract getRsaOperationPayload method 2018-01-24 12:02:11 +01:00
Vincent Breitmoser
5c2e4f889f Fix a bunch of trivial code warnings 2018-01-24 01:32:15 +01:00
Vincent Breitmoser
583b427336 Upgrade to Java 8 2018-01-24 01:32:14 +01:00
Vincent Breitmoser
3379a1d85c update compile sdk to 27 2018-01-24 01:32:14 +01:00
Vincent Breitmoser
938081f125 hack to make PskKeyManager work on newer Android 2018-01-24 01:32:14 +01:00
Vincent Breitmoser
54eb1efa13 Upgrade to gradle 4.4.1 2018-01-24 01:32:10 +01:00
Dominik Schürmann
8d01e40123 Merge pull request #2254 from hagau/export_pub_ssh_keys
Make predicate names in KeychainProvider consistent and allow export of SSH public keys without associated private key in keyring
2018-01-22 12:44:13 +01:00
Dominik Schürmann
289e34bb74 Merge pull request #2255 from open-keychain/timber
Timber
2018-01-22 11:11:17 +01:00
Vincent Breitmoser
29a740a902 suppress AutoValue mutable byte array warnings 2018-01-22 01:47:22 +01:00