Roman Zeyde
|
f0769655ad
|
Add age plugin support
See https://github.com/str4d/rage/tree/main/age-plugin.
Example usage:
RAGE_DIR=$PWD/../Rust/rage
(cd $RAGE_DIR; cargo build --all)
export PATH=$PATH:$RAGE_DIR/target/debug
age-plugin-trezor -i "John Doe" | tee trezor.id
R=$(grep recipient trezor.id | cut -f 3 -d ' ')
date | tee msg.txt
rage -er $R < msg.txt > enc.txt
rage -di trezor.id < enc.txt
|
2021-12-14 20:43:04 +02:00 |
|