autorun.sh
Setup
This document describes how autorun.sh
, a file that AirgapOS automatically
boots and runs should be set up.
This setup can be done on any machine.
-
Create a file called
autorun.sh
that has the following contents:You may accomplish this by doing the following:
- In your Terminal use this command:
vi autorun.sh
- Once you are in the editor press "i" to enter "insert mode"
- Type in the contents, replacing
and with your chosen threshold numbers according to your Quorum:
#!/bin/sh keyfork wizard generate-shard-secret --threshold <M> --max <N> --output shards.pgp
- Press "esc"
- Press ":"
- Press "x"
- Press Enter
- In your Terminal use this command:
-
Hash the file The file should be hashed by using the following command:
sha256sum autorun.sh
Make note of the hash on a piece of paper
-
Copy the file to the Storage Device which contains AirgapOS.
a. If you don't have a Storage Device set up with AirgapOS use this guide to do so.
b. Mount the AirgapOS Storage Device using this guide
c. Copy the
autorun.sh
file to the Storage Device -
Make note of this hash on a piece of paper or print it as you will need it to verify the file during Ceremonies.