Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser 4967a49949 fix date queries in autocrypt handling 2018-06-12 16:44:27 +02:00
Vincent Breitmoser 4f6852ccfc log api calls 2018-06-12 15:39:53 +02:00
Vincent Breitmoser c309c75fee fix error in savePublicKey 2018-06-12 15:39:42 +02:00
Vincent Breitmoser 6e67c14949 correctly parcel SaveKeyringParcel 2018-06-12 13:39:00 +02:00
Vincent Breitmoser 6070e7a9f9 delay cleanup after Application.onCreate 2018-06-12 13:32:29 +02:00
Vincent Breitmoser dc913fc8ca remove branding of glow effect 2018-06-12 13:24:59 +02:00
Vincent Breitmoser abc50f7e40 fix crash in ImportKeysAdapter
Fixes #2343
2018-06-12 11:06:54 +02:00
Vincent Breitmoser a0f48b8353 log elapsed time for secure messaging setup 2018-06-12 11:06:54 +02:00
Vincent Breitmoser 571c02180f clean up ExternalKeychainProvider, remove content resolver hack 2018-06-09 20:29:46 +02:00
Vincent BreitmoserandGitHub fffc98f00a Merge pull request #2341 from open-keychain/usb-ledger
Support Ledger Nano S
2018-06-08 11:06:40 +02:00
Vincent Breitmoser 635ee3e876 Don't pass through selection in ExternalKeychainProvider
The external provider uses the selectionArgs parameter in a non-standard
way, so it doesn't make sense to pass selection to the query
independently. Also enabling strict mode here, to nail down the fields
that can be requested to the contract of the provider.
2018-06-07 14:39:16 +02:00
Vincent Breitmoser 0c0c095ad8 add Ledger Nano S to supported devices 2018-06-07 14:34:09 +02:00
Vincent Breitmoser 122a8d97f8 refresh connection capabilities even if connection was already established
This is relevant for he Ledger Nano S, which may change "key slots"
interactively.
2018-06-07 14:34:09 +02:00
Vincent Breitmoser 35e7fece0d Add trivial short apdu protocol for T=0 2018-06-07 14:34:09 +02:00
Vincent BreitmoserandGitHub 7e591118de Merge pull request #2337 from jatoko/draft-shaw-openpgp-hkp-00-conformance
HKP server handling adopted to conform to draft-shaw-openpgp-hkp-00
2018-06-04 11:48:47 +02:00
Vincent BreitmoserandGitHub 53fa371c9c Merge pull request #2331 from open-keychain/fix_personalized_learning
Disable personalized learning for password input widgets
2018-05-29 16:41:04 +02:00
Vincent Breitmoser 98dc854d03 Use 0-9 for generated admin pin (derp) 2018-05-23 16:24:05 +02:00
Vincent Breitmoser d00e27ad2e Attempt to fix change of key attributes during smartcard key creation 2018-05-23 15:45:43 +02:00
Vincent BreitmoserandGitHub 1e05b7999e Merge pull request #2329 from wiktor-k/wkd-url
Extend WKD support to include WKD URLs
2018-05-23 15:30:46 +02:00
Vincent BreitmoserandGitHub aa1e9ffb97 Merge pull request #2323 from wiktor-k/ndef-openpgp4fpr
Add support for NDEF tags with `openpgp4fpr` URIs
2018-05-23 13:20:05 +02:00
Vincent BreitmoserandGitHub 090eb7e6e3 Merge pull request #2314 from wiktor-k/wkd
Search for keys in Web Key Directory
2018-05-21 20:46:16 +02:00
Vincent Breitmoser 2a33245b20 fix nfc sweetspot activity 2018-05-21 20:25:56 +02:00
Vincent BreitmoserandGitHub 225fdbb79a Merge pull request #2318 from wiktor-k/vcard-key
Extend QR scanner to support VCards with KEY field
2018-05-11 17:17:17 +02:00
Vincent Breitmoser cb6913f6dd Simplify backup code fragment 2018-05-08 15:20:36 +02:00
Vincent Breitmoser 8edd084212 allow setting custom headers in autocrypt setup message 2018-05-03 15:27:04 +02:00
Vincent Breitmoser a63aca623d make sure all keys are allowed for transfer call 2018-05-03 15:26:27 +02:00
Vincent Breitmoser be58f2ff4c Add autocrypt key transfer api method 2018-05-03 15:26:24 +02:00
Vincent Breitmoser f8e6e08410 incorporate feedback 2018-05-02 20:02:53 +02:00
Vincent BreitmoserandGitHub 85032b4354 Merge pull request #2310 from hagau/ssh_signatures_conv
Cleanup SshSignatureConverter
2018-05-01 15:23:12 +02:00
Vincent BreitmoserandGitHub ff6c4d50e3 Merge pull request #2309 from hagau/ssh_rsa_sha2_auth
Use correct signature format identifier when creating SSH signatures for RSA with SHA256 & SHA512
2018-05-01 13:55:54 +02:00
Vincent Breitmoser d6f8357a76 Slight change to "Use different key" submenu, possibly display Autocrypt Setup Message hint 2018-04-18 16:44:01 +02:00
Vincent Breitmoser 00a13e8533 Slight layout changes, and extract strings 2018-04-18 16:44:01 +02:00
Vincent Breitmoser 1a7b30ef99 update openpgp-api-lib 2018-04-18 16:44:01 +02:00
Vincent Breitmoser bd7cfb9504 Key selection implies permission to OpenKeychain access 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 50af8b6889 Make api permissive operations idempotent 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 650fb911ff Slight layout change, keep id on single line 2018-04-18 15:34:39 +02:00
Vincent Breitmoser ee7706b5e9 Add a way to call legacy getSignKey dialog 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 8858dd5c3b Return extra values for select sign key call 2018-04-18 15:34:39 +02:00
Vincent Breitmoser b75cd19a4f add option to choose from unrelated keys 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 336c43cfde Actually save key in identity select dialog, and some more design updates 2018-04-18 15:34:39 +02:00
Vincent Breitmoser b92ff86988 Redesign "select signing key" api dialog 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 23cb3c9426 Use only two subkeys in default configuration 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 69121bfa98 extract KeyInfoInteractor from KeyLoader 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 4c92426fe5 Use more subtle animation for translucent theme 2018-04-18 15:34:39 +02:00
Vincent Breitmoser c9b1690b76 add AsyncTaskLiveData class 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 6ee47dea31 add architecture lifecycle component 2018-04-18 15:34:39 +02:00
Vincent Breitmoser 9ab9127005 Call TemporaryFileProvider.cleanup() in Handler
This *might* fix Samsung problems. Let's see if it reduces crash reports.

See also:
https://stackoverflow.com/questions/41474623/sporadic-illegalargumentexception-unknown-url-content
2018-04-18 15:33:08 +02:00
Vincent Breitmoser 8ad2d56f1c Add option to BackupOperation to export only secret keys 2018-04-16 22:14:38 +02:00
Vincent Breitmoser 347ab8fa15 Color backup code prefix grey 2018-04-16 22:14:38 +02:00
Vincent Breitmoser 45c481c067 add prefixColor attribute to PrefixedEditText 2018-04-16 22:12:28 +02:00
Vincent Breitmoser 9bb19a3ad7 Support import from application/autocrypt-setup type 2018-04-16 16:45:16 +02:00
Vincent Breitmoser 079305c375 Add support for Passphrase-Begin in PassphraseDialog 2018-04-16 16:45:16 +02:00
Vincent Breitmoser a140797da7 Fix PrefixedEditText in combination with hints 2018-04-13 21:45:48 +02:00
Vincent Breitmoser f238e1a75e Use numeric9x4 format in backup fragment 2018-04-13 21:41:30 +02:00
Vincent Breitmoser ffc28f408e Drop support for BackupVersion header in PgpSignEncryptOperation 2018-04-13 21:12:21 +02:00
Vincent Breitmoser 4760a21c40 Add passphrase-format and passphrase-begin headers in BackupOperation, if appropriate 2018-04-13 21:12:21 +02:00
Vincent Breitmoser ded58588ad Support numeric9x4 passphrase-format during decryption 2018-04-13 21:12:21 +02:00
Vincent Breitmoser cb56a44f77 Support Passphrase-Format and -Begin headers in PgpSignEncryptOperation 2018-04-13 21:03:53 +02:00
Vincent Breitmoser ba9d714c1b Add Numeric9x4PassphraseUtils 2018-04-13 19:37:33 +02:00
Vincent Breitmoser a1da52420e Always show creation time for own keys, and show as "just now" for new keys 2018-03-31 00:13:49 +02:00
Vincent Breitmoser 5032453dc2 show email address as name instead of '<no name>' 2018-03-31 00:12:48 +02:00
Vincent Breitmoser 1892baba62 Change upload checkbox name and default in certify dialog, too 2018-03-26 22:02:53 +02:00
Vincent Breitmoser f96fdd582f Change wording on keyserver upload and disable by default for new keys 2018-03-26 21:39:04 +02:00
Vincent Breitmoser b598a4d965 Some small AS cleanups 2018-03-26 21:22:14 +02:00
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 BreitmoserandGitHub 0ee787fb39 Merge pull request #2298 from open-keychain/expected-le
token: send expected result size as Le
2018-03-24 15:00:49 +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 BreitmoserandGitHub fd172955ff Merge pull request #2165 from open-keychain/setup-remove-password
Remove password from setup dialog
2018-03-12 16:08:40 +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 BreitmoserandGitHub 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 BreitmoserandGitHub 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 BreitmoserandGitHub 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
Vincent Breitmoser 37a58a620b add workaround for sdk27 travis bug
see https://github.com/travis-ci/travis-ci/issues/8874
2018-02-20 01:15:37 +01:00
Vincent Breitmoser 248caba5ca Merge branch 'gnuk-djb' 2018-02-20 01:06:35 +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 982a0ce680 add sloppy test for eddsa signatures 2018-02-20 01:04:47 +01:00