Skip to content

Commit

Permalink
add Windows signature verification command
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Feb 14, 2024
1 parent e5c522c commit d9145aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion static/install/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,16 @@ <h2><a href="#obtaining-factory-images">Obtaining factory images</a></h2>
<pre>curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-2021110122.zip
curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-2021110122.zip.sig</pre>

<p>On Linux and macOS, verify the factory images using the signature:</p>
<p>Next, verify the factory images using the signature.</p>

<p>On Linux and macOS:</p>

<pre>ssh-keygen -Y verify -f allowed_signers -I [email protected] -n "factory images" -s <var>DEVICE_NAME</var>-factory-2021110122.zip.sig &lt; <var>DEVICE_NAME</var>-factory-2021110122.zip</pre>

<p>On Windows:</p>

<pre>cmd /c 'type <var>DEVICE_NAME</var>-factory-2021110122.zip | ssh-keygen -Y verify -f allowed_signers -I [email protected] -n "factory images" -s <var>DEVICE_NAME</var>-factory-2021110122.zip.sig'</pre>

<p>This will producing the following output when successful:</p>

<pre>Good "factory images" signature for [email protected] with ED25519 key SHA256:AhgHif0mei+9aNyKLfMZBh2yptHdw/aN7Tlh/j2eFwM</pre>
Expand Down

0 comments on commit d9145aa

Please sign in to comment.