Added README section about sign.sh
Getty Ritter
9 years ago
54 | 54 | |
55 | 55 | If you delete that trusted key, then running the same command |
56 | 56 | 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 | ~~~ |