|
| 1 | +# Common issues |
| 2 | + |
| 3 | +When you are installing APS you can encounter some issues based on your setup, the most common of them are given below with their fixes. |
| 4 | + |
| 5 | +## OpenKeychain failed to launch |
| 6 | + |
| 7 | +Many OEMs create excessive limitations on background apps to "improve" battery life by breaking normal functionality, the workarounds for those are described [here](./background-killing-bugs.md). |
| 8 | + |
| 9 | + |
| 10 | +# "Error reading input data" [#2653](https://github.com/android-password-store/android-password-store/issues/2653), [#2179](https://github.com/android-password-store/android-password-store/issues/2179) |
| 11 | + |
| 12 | +OpenKeychain doesn't support AEAD encryption (default in gpg 2.3+). Dropping the OCB option from the key's preference string fixes the issue |
| 13 | + |
| 14 | +```plaintext |
| 15 | +$ gpg --edit-key <key-id> |
| 16 | +
|
| 17 | +gpg> showpref |
| 18 | + [ultimate] (1).name <email> |
| 19 | + Cipher: AES256, AES192, AES, 3DES |
| 20 | + AEAD: OCB |
| 21 | + Digest: SHA512, SHA384, SHA256, SHA224, SHA1 |
| 22 | + Compression: ZLIB, BZIP2, ZIP, Uncompressed |
| 23 | + Features: MDC, AEAD, Keyserver no-modify |
| 24 | +gpg> setpref AES256 AES192 AES 3DES SHA512 SHA384 SHA256 SHA224 SHA1 ZLIB BZIP2 ZIP |
| 25 | + Set preference list to: Cipher: AES256, AES192, AES, 3DES AEAD: Digest: SHA512, SHA384, SHA256, SHA224, SHA1 Compression: ZLIB, BZIP2, ZIP, Uncompressed Features: MDC, Keyserver no-modify |
| 26 | + Really update the preferences? (y/N) y |
| 27 | +gpg> save |
| 28 | +
|
| 29 | +$ pass init <key-id> |
| 30 | +``` |
| 31 | + |
| 32 | +## "No encrypted data with known key found in stream with newer gopass secrets" [#1530](https://github.com/android-password-store/android-password-store/issues/1530), [#173](https://github.com/android-password-store/android-password-store/issues/173) |
| 33 | + |
| 34 | +This issue caused by option "throw-keyids" which isn't supported by OpenKeychain. To resolve this, you can disable it in two ways: |
| 35 | + 1. Reinit your password storage by command with disabling option "throw-keyids" `PASSWORD_STORE_GPG_OPTS="--no-throw-keyids" pass init $KEYID` |
| 36 | + 2. Edit your gpg config and set `--no-throw-keyids` in it. |
0 commit comments