gdritter repos verify / c5e484a
Added README section about sign.sh Getty Ritter 8 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Collapse all Expand all
5454
5555 If you delete that trusted key, then running the same command
5656 will result in an error.
57
58 ## Building your Own Packages
59
60 Assuming you have a signify public/private keypair already:
61 run the script `sign.sh` with your private key, the name of the
62 executable file you want to sign, and the location where
63 you want the output to be.
64
65 ~~~.sh
66 $ >my-script.sh <<EOF
67 #!/bin/sh
68
69 echo Hello, world!
70 EOF
71 $ sign my-private-key ./my-script ./my-package.verified
72 ~~~