Integrity Verification

You can verify the integrity and authenticity of a DyScan release, which assures you that you are using the original, unmodified files that we released. Steps are described below.

Install GnuPG

Download is available under "binary releases" section here: https://gnupg.org/download/

Alternatively if you are using Homebrew on Mac OS, you can run this command:

brew install gnupg

Get our public key

You will need our public key to verify the signature. Here is the key:

-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF51HRMBEADVH55lXUSymiBeKj0LUrjSige3Jpfsu2gKcGOYzRtYNIpjXGu5
OKSJN3ViCTOhX5V5hmhXKKE7g8kYqhd6OX16XRi7yoWlzBNaFMDsStFlhmEQ2xbq
kgSuLpI4448/JFJqE7N7Az1KasIpjYse4Fth7QQTqhvJEnDOFaw7FiEXX1kbZZc9
rbYSM9X5cJmextSJCLDOaCQuAfZ00/VJWnQnozB8msncw3+7mqzow+bzL0+hwEdz
Y3LAF9YIbiKNoTci3MoDF2yZZ9w1GHxkHQF3fJjBmcNXv1n8tQ7Hcwp1kocWVygi
CbmARgWdz9w6WUeA2chVneR3XD8zgxdTzK+PPs6aSM1vNy8UsRgFfKw7Z6qHnqHR
/6Hk6Os6P4xdHNDpgHQ7XHsP/+czDla5xKbmPLtXcaYoRLcVh+F91V/14AF9zY3c
AotuXtNjuWRjvV3HzRD9pBH2ajLAzu4eIotknBcJldChJuYXrHc57NGFErS7s5WJ
S5nCeS3NAKzmUH3817/rkS39SJP6Ga8f/uVnSOkgiX6ks+UuInRk1IkninosCs67
0wKHG5zIeYEkR/MpR+ZxuMj6DtEDRpg2ZhuHUte2NNAH1aMDYih6Fcm0HFi6eXjm
CGdaYJSeTV3F04Tip+yK79dbSEinYn+7OIZmRr/2Xs7qcSxq/CQlYNdFWQARAQAB
tCtEeW5ldGkgVGVjaG5vbG9naWVzLCBJbmMuIDx0ZWFtQGR5bmV0aS5jb20+iQJU
BBMBCAA+FiEEllFpnm0KZfoinm6FpcmbG/OY5aYFAl51HRMCGwMFCQeGH4AFCwkI
BwIGFQoJCAsCBBYCAwECHgECF4AACgkQpcmbG/OY5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g6i4M+nFfzO6w==
=fl+n
-----END PGP PUBLIC KEY BLOCK-----

Save it to a file (ex. dyneti.gpg) and run this command to import the key:

gpg --import dyneti.gpg

Checksums and signatures

Checksums and signatures are available in the same directory as your chosen release version. Examples below:

Latest iOS SDK release for Swift 5.1 in dyscan-ios-distribution repository: https://github.com/Dyneti/dyscan-ios-distribution/tree/master/Swift5_1

Latest Android SDK release in dyscan-android-distribution repository: https://github.com/Dyneti/dyscan-android-distribution

Verify Android

Go to your dyscan.aar file location and ensure the checksum and signature files are there.

Run this command to generate checksum for your local copy of dyscan.aar and compare with our checksum:

shasum -a 256 dyscan.aar > dyscan-local.aar.sha256
diff dyscan.aar.sha256 dyscan-local.aar.sha256

If the command doesn't produce any output, it means that the checksums are the same.

If you've imported our public key, you can verify the signature of the checksum using this command:

gpg --verify dyscan.aar.sig dyscan.aar.sha256

The command will output the signature date, RSA key, creator info and verification result: good or bad signature.

gpg: Signature made Fri Mar 20 21:11:08 2020 CET
gpg: using RSA key 9651699E6D0A65FA229E6E85A5C99B1BF398E5A6
gpg: Good signature from "Dyneti Technologies, Inc. <team@dyneti.com>" [ultimate]

Verify iOS

Go to your DyScan.framework location and ensure the checksum and signature files are there.

Run this command to generate checksum for your local copy of DyScan.framework and compare with our checksum:

find DyScan.framework -type f -exec shasum -a 256 {} \; > DyScan-local.framework.sha256
diff DyScan.framework.sha256 DyScan-local.framework.sha256

If the command doesn't produce any output, it means that the checksums are the same.

If you've imported our public key, you can verify the signature of the checksum using this command:

gpg --verify DyScan.framework.sig DyScan.framework.sha256

The command will output the signature date, RSA key, creator info and verification result: good or bad signature.

gpg: Signature made Fri Mar 20 21:11:08 2020 CET
gpg: using RSA key 9651699E6D0A65FA229E6E85A5C99B1BF398E5A6
gpg: Good signature from "Dyneti Technologies, Inc. <team@dyneti.com>" [ultimate]