Commit Graph

4970 Commits

Author SHA1 Message Date
Vincent Breitmoser
f0f35c6a66 Version 6.0.4 2024-02-27 11:46:26 +01:00
Vincent Breitmoser
901a7a73bc Small fixes to backported changelog 2024-02-27 11:46:26 +01:00
Vincent Breitmoser
4cf23609db Merge pull request #2888 from flossposse/update-changelog
update changelog
2024-02-27 11:41:54 +01:00
Vincent Breitmoser
2addbf07fe Update translations again (after dropping unused strings) 2024-02-27 11:25:05 +01:00
Vincent Breitmoser
30aec855e2 Drop a bunch of unused resources 2024-02-27 11:25:05 +01:00
Vincent Breitmoser
095f0ba09c Drop unused notification channel 2024-02-27 11:25:05 +01:00
Vincent Breitmoser
9c94fc1f4d Update translations from transifex 2024-02-27 11:02:31 +01:00
Vincent Breitmoser
42e7a4ef75 Fix text color for backup code 2024-02-27 10:40:48 +01:00
Vincent Breitmoser
c3e330b304 Fix incorrect querying of autocrypt peer master key id 2024-02-26 17:37:30 +01:00
Vincent Breitmoser
b209835285 Return full result set from external provider autocrypt_status query 2024-02-26 17:16:30 +01:00
Po Flossie
65b94aa77e update changelog 2024-02-24 12:10:00 -06:00
Vincent Breitmoser
290ccf049e Version 6.0.3 2024-02-23 14:12:06 +01:00
Vincent Breitmoser
1e584a368d Fix race condition with progress dialog 2024-02-21 18:20:28 +01:00
Vincent Breitmoser
4a33dfbb20 Change security defaults from SHA-512 to SHA-256
No good reason to use SHA-512 here, since SHA-256 stood the test of
time.
2024-02-21 17:53:25 +01:00
Vincent Breitmoser
3e3d09ae6d Fix encoding of DSA signatures from security tokens
See https://github.com/open-keychain/open-keychain/issues/2108

Closes #2746
Closes #2497
2024-02-21 17:25:06 +01:00
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
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
Heinrich Kießling
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
Stuart Longland
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 Longland
fec3f85fad CcidTransceiver: Poke device again if we get zero-sized packet. 2024-02-01 23:55:10 +01:00
Stuart Longland
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 Longland
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 Longland
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 Longland
64b4c9fad8 SecurityTokenInfo: Add NITROKEY_3 to TokenType enum 2024-02-01 23:55:10 +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-bilibili
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-bilibili
7c97829ca9 enable encrypt for eddsa; fix key usage spinner 2024-01-29 16:41:28 +01:00
segfault-bilibili
5f0646b7e9 fix cv25519 encryption key generation 2024-01-29 16:41:27 +01:00
segfault-bilibili
3288adf5b2 fix typo 2024-01-29 16:41:26 +01:00
Vincent Breitmoser
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 Breitmoser
c3f5528b51 Merge pull request #2860 from schorschii/update-app-icons
Update featured app icons
2024-01-29 16:03:51 +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