mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-04-01 20:07:36 +03:00
fix: Package authenticity
This commit is contained in:
parent
4c30fa43d3
commit
b953a1c2f6
1 changed files with 21 additions and 16 deletions
37
README.md
37
README.md
|
@ -57,25 +57,30 @@ Optional visual styles are accessible after a contribution (and a congratulatory
|
|||
| [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/com.kunzisoft.keepass.free) |  | Free |
|
||||
| [GitHub](https://github.com/Kunzisoft/KeePassDX/releases) / [Obtainium](https://github.com/ImranR98/Obtainium) |  | Free & Libre |
|
||||
|
||||
## Verify the authenticity of the downloaded app from GitHub
|
||||
- Download the latest app from [GitHub releases](https://github.com/Kunzisoft/KeePassDX/releases/latest). <br>
|
||||
- Open the directory where you saved the downloaded file in the Terminal.
|
||||
- Make sure that you have `keytool` installed by running:
|
||||
## Package authenticity from GitHub
|
||||
- Download the app from [GitHub releases](https://github.com/Kunzisoft/KeePassDX/releases/latest)
|
||||
- Install [`apksigner`](https://developer.android.com/tools/apksigner) from [Android Studio](https://developer.android.com/studio)
|
||||
- Open the directory where you saved the downloaded file in the Terminal
|
||||
- Make sure that you have `apksigner` installed by running:
|
||||
```shell
|
||||
apksigner --version
|
||||
```
|
||||
keytool -version
|
||||
- Depending on the APK file you downloaded, run:
|
||||
|
||||
```shell
|
||||
apksigner verify --verbose --print-certs -min-sdk-version 24 KeePassDX-*.apk
|
||||
```
|
||||
- Depending on the flavor you downloaded, run:
|
||||
|
||||
- For the `libre` flavor:
|
||||
```shell
|
||||
(keytool -printcert -jarfile KeePassDX-*-libre.apk | grep -q '7D:55:B8:AF:21:03:81:AA:BF:96:0F:07:E1:7C:F7:85:7B:6D:2A:64:2C:A2:DA:6B:F0:BD:F1:B2:00:36:2F:04' && echo && echo && echo "The app is safe to be installed.") || (echo && echo && echo "The app is not safe to be installed.")
|
||||
```
|
||||
|
||||
- For the `free` flavor:
|
||||
```shell
|
||||
(keytool -printcert -jarfile KeePassDX-*-free.apk | grep -q '7D:55:B8:AF:21:03:81:AA:BF:96:0F:07:E1:7C:F7:85:7B:6D:2A:64:2C:A2:DA:6B:F0:BD:F1:B2:00:36:2F:04' && echo && echo && echo "The app is safe to be installed.") || (echo && echo && echo "The app is not safe to be installed.")
|
||||
```
|
||||
You should get an output that tells you if the app is safe to be installed or not.
|
||||
You should get this output :
|
||||
```shell
|
||||
Verified using v2 scheme (APK Signature Scheme v2): true
|
||||
...
|
||||
Number of signers: 1
|
||||
Signer #1 certificate SHA-256 digest: 7d55b8af210381aabf960f07e17cf7857b6d2a642ca2da6bf0bdf1b200362f04
|
||||
...
|
||||
Signer #1 public key SHA-256 digest: 5d261d3176db1e077b80112824d9390167f3be0561827e42112ed6b71192db81
|
||||
```
|
||||
If it's the case, this means that the APK was well built by the author of KeePassDX.
|
||||
|
||||
## Frequently Asked Questions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue