diff --git a/README.md b/README.md index 6a48f3b..588aa41 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,24 @@ ### User credentials encryption and decryption #### To encrypt +``` gpg --output user_credentials.crypt --symmetric --cypher-algo AES256 user_credentials.json +``` #### To decrypt +``` gpg --output user_credentials.json --decrypt user_credentials.crypt +``` ### Usage 1. Boot from Arch Linux iso -2. Download the encrypted credentials file using curl (curl -O https://git.xo.nl/marcel/archinstall/raw/master/user_credentials.crypt) +2. Download the encrypted credentials file using curl +``` +curl -O https://git.xo.nl/marcel/archinstall/raw/master/users.crypt) +``` 3. Decrypt using above command -4. Run the archinstall command (archinstall --config https://git.xo.nl/marcel/archinstall/raw/master/user_configuration.json --creds ./user_credentials.json --silent) +4. Run the archinstall command +``` +archinstall --config https://git.xo.nl/marcel/archinstall/raw/master/user_configuration.json --creds ./users.json --silent) +``` \ No newline at end of file