7 Commits

Author SHA1 Message Date
SlugFiller
fa6d80ed99 Fix Windows compatibility issues and AGE and GPG support 2023-09-11 02:04:09 +03:00
Roman Zeyde
23c6349c98 Verify that 'identity-v1' state machine is used
Following https://github.com/romanz/trezor-agent/issues/426.
2023-09-02 14:39:25 +03:00
Roman Zeyde
97416308ed Remove unused imports and fix a small lint issue 2023-04-25 17:43:40 +03:00
Roman Zeyde
0bbb52f24e age: fix verbosity setting 2022-12-26 19:53:32 +02:00
Roman Zeyde
91e7970d53 Fix pycodestyle issue 2022-12-16 20:46:48 +02:00
Roman Zeyde
8322cf455e Chunkify 'base64' format for age plugin 2022-10-28 11:42:53 +03:00
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