Commit Graph

973 Commits

Author SHA1 Message Date
Roman Zeyde e4d16a361a Merge branch 'master' of https://github.com/yanchenko-igor/trezor-agent 2022-01-21 21:23:09 +02:00
Igor Yanchenko c6f30083ff Update setup.py
Added age support
2022-01-21 20:55:26 +02:00
Senjuu 23f8ef09a5 Add Support for NIST256 ssh-certificates
Adopt suggested naming scheme

Adding new unit tests
2021-12-21 19:38:44 +02: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
Roman Zeyde 2a6a47f400 Support SSH signatures
https://www.agwa.name/blog/post/ssh_signatures

See here for more details:
https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.sshsig
https://github.com/openssh/openssh-portable/blob/master/sshsig.c
https://github.com/openssh/openssh-portable/commit/2a9c9f7272c1e8665155118fe6536bebdafb6166
2021-12-13 10:58:15 +02:00
Roman Zeyde 47c827519e Bump dependency to latest trezorlib 2021-12-09 20:23:00 +02:00
Roman Zeyde a9117c965c Bump version: 0.14.3 → 0.14.4 v0.14.4 2021-11-06 14:41:42 +02:00
Roman Zeyde 8107e6378c Don't use sys.argv for device name parsing 2021-11-05 10:03:22 +02:00
Roman Zeyde 85d2da5460 Bump version: 0.14.2 → 0.14.3 v0.14.3 2021-11-02 09:28:03 +02:00
Roman Zeyde 5e5a96b96f Merge branch 'fixes' 2021-11-02 09:23:55 +02:00
Roman Zeyde 69c5c57489 Support "fast-path" key listing
https://dev.gnupg.org/rG40da61b89b62dcb77847dc79eb159e885f52f817#change-o4DEJvEV1Dx2

Also, refactor decoding and add a few tests.
2021-11-02 09:22:19 +02:00
Roman Zeyde b9db213912 Use Popen.communicate to get stdout from subprocess 2021-11-01 14:07:02 +02:00
Roman Zeyde 6c2b880b7d Support daemonization of GPG agent 2021-11-01 14:07:02 +02:00
Roman Zeyde 37510a2d75 Fix FakeDevice close() and pubkey() 2021-10-25 21:15:20 +03:00
Roman Zeyde b6de68e95c Run CI also on Python 3.10 2021-10-25 08:37:51 +03:00
Roman Zeyde ee4b1fcdb6 Multiple style fixes 2021-10-22 19:47:15 +03:00
Roman Zeyde 6d55512619 Merge pull request #361 from melpomene/patch-1
Udev rule configuration link was dead
2021-09-20 10:20:59 +03:00
Christopher Käck b902f43ba1 Udev rule configuration link was dead
and redirecting to the root page for documentation.
2021-09-19 22:19:32 -07:00
Roman Zeyde 338a075ed5 Allow looking TREZOR by path prefix 2021-06-21 21:32:43 +03:00
Roman Zeyde bcea720e95 Test on Python 3.{6,7,8,9} 2021-05-22 22:13:58 +03:00
Roman Zeyde 1c6d2cb65a Update README badge 2021-05-22 22:08:23 +03:00
Roman Zeyde 53fe6cd5ad Merge branch 'github-ci' 2021-05-22 22:04:00 +03:00
Roman Zeyde a0e7aae1d2 Enable isort check in tox 2021-05-22 21:54:20 +03:00
Roman Zeyde 7f4269ab88 Add GitHub CI
Fixup a few pylint comments
2021-05-22 21:51:45 +03:00
Roman Zeyde 36e7afde17 Remove Travis CI 2021-05-22 14:46:21 +03:00
Roman Zeyde 020572ef5f Support Signify-based signatures
http://www.openbsd.org/papers/bsdcan-signify.html
2020-12-29 09:14:06 +02:00
Roman Zeyde dbae284487 Short-circuit calling tty if stdin is redirected 2020-12-25 16:30:22 +02:00
Roman Zeyde f5b99c0794 Bump version: 0.14.1 → 0.14.2 v0.14.2 2020-12-16 20:29:17 +02:00
Roman Zeyde f66da28cc3 Unbump setup.py 2020-12-16 20:28:52 +02:00
Roman Zeyde c3853e97c7 Merge branch 'feature/fix-continous-integration' of https://github.com/galuszkak/trezor-agent into fix-ci 2020-10-22 18:41:56 +03:00
Kamil Gałuszka 32eff19bb6 fix: linter fixes and added python 3.9 to tests 2020-10-15 01:05:40 +02:00
onlykey fd182e744f Add OnlyKey support 2020-09-24 22:29:21 +03:00
Roman Zeyde a12202d809 Move decompression into device.pubkey() 2020-09-24 14:41:50 +03:00
Roman Zeyde d0e7fa7cca Require older version of isort for pylint 2020-08-05 08:52:37 +03:00
onlykey e1bbdb4bcc Replace 'ed25519' by 'pynacl' 2020-08-05 08:51:40 +03:00
Roman Zeyde 4d9d6c0741 Fix a typo in systemd unit example 2020-07-04 11:12:19 +03:00
Roman Zeyde 4c3c5a7c53 Merge pull request #330 from Karunamon/patch-1
Quote PATH when writing agent invocation script
2020-05-17 15:28:16 +03:00
Michael Parks 362ddcc707 Quote PATH when writing agent invocation script
If the PATH contains spaces, the agent invocation script will fail parsing. This quotes the variable so that spaces don't break the script.
2020-05-17 00:41:56 -06:00
Roman Zeyde 88ff57187f Bump version: 0.14.0 → 0.14.1 v0.14.1 2020-05-02 17:43:44 +03:00
Roman Zeyde 52d840cbbb Initialize passphrase cache at UI c-tor 2020-04-29 22:01:06 +03:00
Roman Zeyde 8c22e5030b Bump 'trezor_agent' version: 0.10.0 → 0.11.0 2020-04-17 14:42:15 +03:00
Roman Zeyde 18c80b4cca Bump version: 0.13.1 → 0.14.0 v0.14.0 2020-04-17 14:31:41 +03:00
Roman Zeyde 7eab4933ed Add more Python version to Travis 2020-04-17 14:30:36 +03:00
Roman Zeyde d103ebee6f Fix pylint warning 2020-04-17 14:28:50 +03:00
matejcik d8bcca3ccb support trezorlib 0.12 2020-04-09 14:41:56 +02:00
Roman Zeyde 67ef11419a Merge pull request #320 from eli-b/patch-5
docs: Install libagent from source too
2020-04-06 23:30:46 +03:00
Eli Boyarski d4d168c746 docs: Install libagent from source too
Installing the trezor/ledger agent from source installs the libagent module from PyPI unless libagent is already installed from source beforehand.
2020-04-06 20:44:25 +03:00
Roman Zeyde 61cfcef35c Merge branch 'NTICompass/keepkey-webusb' 2020-03-16 23:21:01 +02:00
Eric Siegel 0f627e8322 Clean up code... 2020-03-16 15:26:15 -04:00
Eric Siegel (Rocket Hazmat) 7bdfa7609d Upgrade KeepKey for new libagent code
Add get_public_node for KeepKey
2020-03-13 13:50:09 -04:00