Install REOP from Source
###############################################
$ mkdir -p ~/src
$ cd ~/src
$ endget --no-check-certificate https://www.tedunangst.com/flak/files/reop-3.0-snapshot.tar.gz
$ tar -xvf reop-3.0-snapshot.tar.gz
$ cd reop
$ ./configure
$ make
$ ./reop --help
$ cd ~/bin
$ ln -s ~/src/reop/reop reop
$ export PATH=$HOME/bin:$PATH
$ reop --help
Generate a key pair
$ cd ~
$ mkdir -p crypto
$ cd crypto
$ mkdir -p reop
$ cd reop
$ pwd
~/crypto/reop
$ reop -G -i endwall
Enter a passphrase:
$ ls ~/.reop
pubkey seckey
Encrypt / Decrypt
$ cd ~/crypto/reop
$ echo "This is the message" >> message
$ reop -E -i endwall -p ~/.reop/pubkey -m message
passphrase:
$ ls
message message.enc
$ reop -D -p ~/.reop/pubkey -m decrypt -x message.enc
passphrase:
$ ls
message message.enc decrypt
$ cat message
$ cat message.enc
$ cat decrypt
Useful for encrypting passwords.txt file on an air gap for passwords generated using passgen
#########################################################