Commit Graph

7289 Commits

Author SHA1 Message Date
Peter Cai 8f9728cd60 Catch SecurityException from using a stale Tag object
Applications are not supposed to be able to do any I/O using a stale Tag
object. This was not checked in older Android versions, but enforced
later since Android 13 (and possibly in Android 12L).

When we are checking for a disconnected tag, the Tag object can become
stale if the same tag (or another tag) gets rediscovered. In addition,
if NfcService is restarted for some reason, the cookie value used to
check for this will also be reset to 0. In any case, a SecurityException
could be raised when checking for a disconnected tag, and we should be
able to handle this case.
2022-12-12 18:27:40 -05:00
Vincent Breitmoser 6f38af1582 Add note about maintenance mode to readme
Both @dschuermann and myself no longer spend a lot of time on this
project.

Here's a brief summary of a blog post we never wrote:

* All of OpenKeychain's UI is an anti-feature.
* If the user is doing anything in OpenKeychain's UI, OpenPGP is still doing it wrong.
* OpenKeychain shouldn't be an app, it should be a library.
* Changing OpenKeychain into a library is more work than we are motivated to do in our free time.
2021-08-17 11:27:38 +02:00
Dominik Schürmann fdd7c00a80
Merge pull request #2699 from android-password-store/accept-invalid-emails
Bump openpgp-api and add a test for TLD-less email
2021-05-02 19:30:02 +02:00
Harsh Shandilya 6b3368acb2
Update SplitUserIdTest.java 2021-05-02 19:23:02 +05:30
Harsh Shandilya 6408bac245
OpenKeychain: add a test for TLD-less email
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 19:04:20 +05:30
Harsh Shandilya a1bf8b4fba
extern/openpgp-api-lib: bump to latest revision
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 19:03:59 +05:30
Dominik Schürmann 335cce4101 Version 5.7.5 2021-04-30 10:53:15 +02:00
Dominik Schürmann 5522b6d583 use getDigest() properly 2021-04-29 17:58:31 +02:00
Dominik Schürmann 7cf34b0539 do not call digestCalculator.getDigest() twice 2021-04-29 17:52:31 +02:00
Dominik Schürmann f8724d3f42 integrate EdDSAAuthenticationSigner into default signer using enablePreHash parameter 2021-04-29 17:51:39 +02:00
Dominik Schürmann 8c576682e1 Version 5.7.4 2021-04-21 17:02:12 +02:00
Dominik Schürmann a9b28dd11c improve card decrypt with constants 2021-04-21 14:48:14 +02:00
Dominik Schürmann 28c23f84bf improve variable names in ECDH card decrypt 2021-04-21 14:36:55 +02:00
Dominik Schürmann 483e771ed7
Merge pull request #2693 from canokeys/fix_invalid_kek
fix the compatibility of compressed and uncompressed format in ECDH
2021-04-21 13:54:09 +02:00
dangfan ec5d5e399f
add more documentation of decryptSessionKeyEcdh 2021-04-21 19:09:35 +08:00
dangfan 9ea9bd96bb
fix the compatibility of compressed and uncompressed format in ECDH 2021-04-21 09:25:59 +08:00
Dominik Schürmann 38157242e1 HKP parsing: make \r optional in pubkey lines 2021-04-18 10:24:37 +02:00
Vincent Breitmoser 2d45528f8f
Merge pull request #2691 from stelian42/fix-keysearch
Fix parsing of EOL in keyserver answer
2021-04-16 14:02:04 +02:00
Stelian Pop 20caa22f05 Fix parsing of EOL in keyserver answer 2021-04-16 11:36:25 +02:00
Dominik Schürmann 8f59c6f73b Version 5.7.3 2021-04-03 14:35:55 +02:00
Dominik Schürmann df2356995c
Merge pull request #2685 from open-keychain/fix_changing_admin_key__issue_2684
Don't explicitly clear PIN when verifying admin PIN
2021-04-03 14:29:07 +02:00
Christian Hagau 178e7856b2 Don't explicitly clear PIN when verifying admin PIN.
The PIN is cleared anyway when the Passphrase object holding the PIN is
freed.
2021-04-02 00:00:00 +00:00
Dominik Schürmann 663fb1259f Version 5.7.2 2021-03-27 19:29:13 +01:00
Dominik Schürmann 9ed56eed5e
Merge pull request #2679 from dhedberg/master
Only skip hashing when creating an EDDSA authentication signature
2021-03-27 19:17:53 +01:00
David Hedberg f45254cf07 Only skip hashing when creating an EDDSA authentication signature 2021-03-27 11:38:14 +01:00
Dominik Schürmann 43b85e12ea Version 5.7.1 2021-03-18 17:25:49 +01:00
Dominik Schürmann 3dfa1af046 update from transifex 2021-03-17 21:13:55 +01:00
Dominik Schürmann 64f4d7aaa4 Version 5.7 2021-03-17 12:32:55 +01:00
Dominik Schürmann 1dba1ec86e update README for jitpack 2021-03-17 11:34:41 +01:00
Dominik Schürmann 0a807e525c remove Github packages, configure jitpack 2021-03-17 11:27:30 +01:00
Dominik Schürmann d241768942 build lib with jitpack 2021-03-17 11:22:17 +01:00
Dominik Schürmann e25be5d40e ci: disable GitHub publish. maven repos are not public 2021-03-17 10:55:46 +01:00
Dominik Schürmann 0f1902fd4b fix compileSdkVersion check in sshauthentication 2021-03-17 10:24:35 +01:00
Dominik Schürmann 7a74904aac update openpgp-api submodule 2021-03-17 10:20:20 +01:00
Dominik Schürmann 188d5c200e ci: execute on master 2021-03-17 10:12:50 +01:00
Dominik Schürmann 5feb191fe1 ci: publish sshauthentication to GitHub Packages 2021-03-17 10:11:28 +01:00
Dominik Schürmann 5e22f99fe9 ci: espresso requires macOS for KVM 2021-03-17 09:55:35 +01:00
Dominik Schürmann 3547216367 remove Android-CI-Espresso 2021-03-17 09:51:00 +01:00
Dominik Schürmann 51c171b97a use ubuntu instead of macOS in CI 2021-03-17 09:48:40 +01:00
Dominik Schürmann 903cce6b20 fix SecurityTokenUtilsTest 2021-03-16 19:50:29 +01:00
Dominik Schürmann bad16d4824 update openpgp-api submodule 2021-03-16 17:11:43 +01:00
Dominik Schürmann 95a0975497 update openpgp-api submodule 2021-03-16 17:09:53 +01:00
Dominik Schürmann 56254aedb7 improve and simplify key formats 2021-03-16 17:07:56 +01:00
Dominik Schürmann 39ef489a92 Merge branch 'dhedberg-master' 2021-03-16 15:47:36 +01:00
Dominik Schürmann c899e5ef2d Merge branch 'master' of https://github.com/dhedberg/open-keychain into dhedberg-master 2021-03-16 15:47:24 +01:00
Dominik Schürmann e7b81717d4 Merge branch 'master' of github.com:open-keychain/open-keychain 2021-03-16 15:46:11 +01:00
Dominik Schürmann c8cc16a026 update bouncycastle repo to include new commit 2021-03-16 15:45:25 +01:00
Dominik Schürmann d527566b97
Merge pull request #2675 from hannesa2/AndoridStudio-4.1
Android Studio 4.1
2021-03-16 15:34:27 +01:00
Dominik Schürmann 6f56987636 build: update databinding property 2021-03-16 15:29:47 +01:00
Dominik Schürmann 0b49e7f91f fix build error introduced by x25519 decryption support 2021-03-16 15:25:24 +01:00