blob: 722b18fc36faeb8d36d300ccf1a9eb9395653e04 [file] [log] [blame]
bigbiff bigbiff354146a2016-12-05 18:36:49 -05001---
2layout: post
3title: "How do I verify TWRP files with PGP?"
4---
5
6Recently we implemented signing TWRP files with OpenPGP for security minded people who want to verify
bigbiff bigbiff326fbf92016-12-05 21:00:52 -05007the non-repudiation of twrp.me files. You can read more about OpenPGP <a href="http://openpgp.org/about/">here</a>
bigbiff bigbiff354146a2016-12-05 18:36:49 -05008
9To verify a file, you will need to install our <a href="https://dl.twrp.me/public.asc">public key</a> into
10your keyring. The public key is also listed on each device's download page. Please download the key to a new file.
11When you click on the page, you will see a link for the PGP verification file as
bigbiff bigbiff2dad4092016-12-05 18:57:42 -050012"Download PGP Signature twrp-device-version.type.asc". This file is in binary format and is created using our
bigbiff bigbiff354146a2016-12-05 18:36:49 -050013private key the first time the download page is created for the file. You can then perform
bigbiff bigbiff326fbf92016-12-05 21:00:52 -050014the following steps to verify non-repudiation (Linux steps only):
bigbiff bigbiff354146a2016-12-05 18:36:49 -050015
16<ol>
17<li><pre>gpg --import twrp-public.asc</pre></li>
18<li><pre>gpg --verify twrp-device-version.type.asc twrp-device-version.type</pre></li>
19</ol>
20
21For Windows, please find a OpenPGP implementation and read the documentation to perform these steps.