Commit Graph
7350 Commits
Author SHA1 Message Date
Vincent Breitmoser 90f859749e Add special handling for expected ECC import format for Nitrokey 3 2024-02-20 15:50:55 +01:00
Vincent Breitmoser c9e86b00ed Version 6.0.2 2024-02-18 23:05:42 +01:00
Vincent Breitmoser 834abecac0 Drop facebook publickey pattern
This is no longer supported anyways on Android 12+, since we don't have
the URI verified
2024-02-18 14:51:40 +01:00
Vincent Breitmoser bcac9d3204 Add test for multiple signing candidates case 2024-02-18 14:49:00 +01:00
Vincent Breitmoser 5cc2d88ab9 Fix selection of signing or auth subkey if there are multiple candidates
Fixes #2879
2024-02-18 14:11:59 +01:00
Vincent Breitmoser 3d70875726 Version 6.0.1 2024-02-16 10:44:15 +01:00
Vincent BreitmoserandGitHub 545a45842a Merge pull request #2883 from basilgello/passphrase-auth-fix-v6.0.0
Fix passphrase dialog and dark/light mode reversal
2024-02-16 10:42:25 +01:00
Vasyl Gello 4ebf335821 Show passphrase fragment for all textable types
PR #2864 removed the code unconditionally displaying passphrase dialog
and the codepath inside onCreate has become the only one that can display
the fragment. However, the if-clause does not consider new types other
than PASSPHRASE that emerged with development of OKC.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2024-02-15 15:06:32 +02:00
Vasyl Gello c846e65d7c Fix theme reversal
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2024-02-15 14:58:53 +02:00
Vincent BreitmoserandGitHub e2b9606d66 Merge pull request #2882 from pokulo/NullPointerException-in-selectUserIdStatusByEmailLike
🐛fix Issue #2881: avoid NullPointerException in selectUserIdStatusByEmailLike
2024-02-15 11:59:08 +01:00
Heinrich KießlingandGitHub f008f27843 Fix Issue #2881: avoid NullPointerException in selectUserIdStatusByEmailLike
after upgrade of sqlitedb library sqldelight in commit 5d84bd8387 the method getUidStatusByEmailLike may suddenly raise a NullPointerException. This fix attempts to restore the prior behavior or simply returning null.
2024-02-12 12:19:04 +01:00
Vincent Breitmoser f099b86950 Version 6.0.0 2024-02-02 00:02:09 +01:00
Vincent Breitmoser 542e9310e2 Merge branch 'nitrokey-v3' 2024-02-01 23:55:34 +01:00
Stuart LonglandandVincent Breitmoser 0fcd77d61d CcidTransceiver: Adjust line lengths
100 characters with exceptions made for CLI commands, URIs and imports.
Some of this is existing code, but for the sake of consistency, we'll
wrap all at 100 characters.

Function arguments: when this happens, if we put the closing `)` on its
own line (like `}` in code blocks), it visually stands out better for
indicating where the function call ends.
2024-02-01 23:55:10 +01:00
Stuart LonglandandVincent Breitmoser fec3f85fad CcidTransceiver: Poke device again if we get zero-sized packet. 2024-02-01 23:55:10 +01:00
Stuart LonglandandVincent Breitmoser 19cd6967c0 T1ShortApduProtocol: Implement CCID chaining
Code credit: @sosthene-nitrokey
https://github.com/open-keychain/open-keychain/pull/2842#issuecomment-1637598171
2024-02-01 23:55:10 +01:00
Stuart LonglandandVincent Breitmoser 1ee192f098 CcidTransceiver: Expose Level Param
The `PC_TO_RDR_XFR_BLOCK` structure has a fields which is used in
multi-block transfers:
- `levelParam`: Indicates if APDU begins or ends in this command

Some constants for `levelParam` are defined.
2024-02-01 23:55:10 +01:00
Stuart LonglandandVincent Breitmoser 99fed989ad UsbTransport: Recognise NitroKey 3 family USB ID
https://raw.githubusercontent.com/Nitrokey/libnitrokey/master/data/41-nitrokey.rules lists the following USB VID/PID:

20a0:42b2: Nitrokey 3A Mini/3A NFC/3C NFC
2024-02-01 23:55:10 +01:00
Stuart LonglandandVincent Breitmoser 64b4c9fad8 SecurityTokenInfo: Add NITROKEY_3 to TokenType enum 2024-02-01 23:55:10 +01:00
Vincent BreitmoserandGitHub b7d98009d7 Merge pull request #2876 from open-keychain/sdk34
Update for targetSdk34
2024-02-01 22:19:40 +01:00
Vincent Breitmoser 03dbf454d7 Drop no longer compatible CMSClassUnloadingEnabled 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 0b001380a1 Update github workflows for java and api 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 0e8f3fa90e Fix behavior for duplicate user ids 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 2391a8c09b Explicitly set provider name for JcePublicKeyKeyEncryptionMethodGenerator 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 40f45521c3 Update robolectric to 4.11.1 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 4dd3391c9f use FileHelper.openOutputStreamSafe to resolve output streams 2024-01-29 16:42:28 +01:00
Vincent Breitmoser ba9c93d046 consistently use FileHelper.openInputStreamSafe to resolve input streams 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 034eab9df1 Update BouncyCastle to 1.77 2024-01-29 16:42:28 +01:00
Vincent Breitmoser e69ff0a2ad Drop notification for keyserver update progress
We don't have the notification permission reliably here, and the
notification shows up and is gone so quickly that it provides little
value anyways.
2024-01-29 16:42:28 +01:00
Vincent Breitmoser 3a52071f50 Update AGP to 8.4.2 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 6f3ce7aadb Update to targetSdk 34 2024-01-29 16:42:28 +01:00
Vincent Breitmoser 5d84bd8387 Update AGP to 7.4.2, update SqlDelight to 1.4.2
The adaptations to SqlDelight 1.4.2 leave the type namings *extremely*
messy. But it works and is as semantically equivalent as I could make
it.
2024-01-29 16:42:28 +01:00
segfault-bilibiliandVincent Breitmoser 0caeca0b66 Make ECC 25519 the default generated key type 2024-01-29 16:41:30 +01:00
Vincent Breitmoser 5615197553 Fix 25519 choice naming 2024-01-29 16:41:29 +01:00
segfault-bilibiliandVincent Breitmoser 7c97829ca9 enable encrypt for eddsa; fix key usage spinner 2024-01-29 16:41:28 +01:00
segfault-bilibiliandVincent Breitmoser 5f0646b7e9 fix cv25519 encryption key generation 2024-01-29 16:41:27 +01:00
segfault-bilibiliandVincent Breitmoser 3288adf5b2 fix typo 2024-01-29 16:41:26 +01:00
Vincent BreitmoserandGitHub 416e844d79 Merge pull request #2817 from Longhao-Chen/dark_themes
fix: #2784 #2779 #2402
2024-01-29 16:36:19 +01:00
Vincent BreitmoserandGitHub e13400c6fa Merge pull request #2859 from schorschii/darkmode-transfercode-fix
Fix: transfer code text color in dark mode
2024-01-29 16:04:39 +01:00
Vincent BreitmoserandGitHub c3f5528b51 Merge pull request #2860 from schorschii/update-app-icons
Update featured app icons
2024-01-29 16:03:51 +01:00
Vincent BreitmoserandGitHub 38ef8c2710 Merge pull request #2864 from konradmoesch/master
Improve PassphraseDialog lifecycle logic
2024-01-29 16:03:11 +01:00
Konrad Moesch 892dafb190 Remove commented code 2023-12-03 12:36:34 +01:00
Konrad Moesch e81a184056 modify dialog lifecycle logic to be able to use autofill 2023-12-03 12:20:43 +01:00
Georg Sieber 98cb6b8d82 update app icons 2023-11-12 20:39:56 +01:00
Georg Sieber fc936ef827 fix transfer code text color in dark mode 2023-11-12 15:44:49 +01:00
Longhao.Chen 9834690941 fix: #2784 Encrypt file - Encrpyt to list is empty (dark mode) 2023-01-31 16:32:50 +08:00
Vincent Breitmoser 8d69181b65 Version 5.8.2 2023-01-05 17:09:21 +01:00
Vincent Breitmoser 6e07cc4bd6 Remove donation dialog
Since OpenKeychain is in no longer actively developed, we might as well
drop the donation dialog.
2023-01-05 17:08:34 +01:00
Vincent Breitmoser 0135d44fc6 Version 5.8.0 2022-12-29 22:57:16 +01:00
Vincent Breitmoser c1861535bc make auto theme the default 2022-12-27 22:33:16 +01:00