Commit Graph

998 Commits

Author SHA1 Message Date
Roman Zeyde
7cf3c520d3 Fix pytest invocation in tox.ini 2022-12-16 20:52:45 +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
3fbb2c624e Document SSH-based Git signatures 2022-10-21 20:42:22 +03:00
Roman Zeyde
1cfdddc33a Bump version: 0.14.5 → 0.14.6 2022-10-21 12:02:20 +03:00
Roman Zeyde
523dcb139a Merge pull request #399 from JamieDriver/update_jade_api
Update Jade api version
2022-09-21 21:15:07 +03:00
Jamie C. Driver
751ef7321b Update Jade api version 2022-09-15 11:07:17 +01:00
Roman Zeyde
38a3131a07 Merge pull request #396 from JamieDriver/jade_agent_install
Update setup.py for jade-agent
2022-09-01 20:33:19 +03:00
Jamie C. Driver
7c01789529 Update setup.py for jade-agent 2022-08-17 15:55:08 +01:00
Roman Zeyde
1763b0ea0c Drop Python 3.6 in CI 2022-07-10 20:06:06 +03:00
Roman Zeyde
8c5a9bfe02 Fixup pylint issues 2022-07-10 19:53:35 +03:00
Roman Zeyde
807c25a9fc Bump 'trezor_agent' version: 0.11.0 → 0.12.0 2022-07-09 19:20:46 +03:00
Roman Zeyde
b177da9ee8 Bump version: 0.14.4 → 0.14.5 2022-07-09 19:09:04 +03:00
Roman Zeyde
4242599114 Merge pull request #395 from afreakk/master
fix: provide buf argument to unsupported_extension function
2022-05-23 08:58:04 +03:00
afreakk
54e670c7ee fix: provide buf argument to unsupported_extension function 2022-05-22 14:09:40 +02:00
Roman Zeyde
5832d4a67b Merge pull request #394 from romanz/latest-ssh
Don't fail if not all request is parsed
2022-05-21 13:17:26 +03:00
Roman Zeyde
8d4536b37a Fixup linting issues 2022-05-21 12:09:00 +03:00
Roman Zeyde
b1b3e4b7ea Don't fail if not all request is parsed
https://www.openssh.com/agent-restrict.html

266678e19e
2022-05-21 12:07:07 +03:00
Roman Zeyde
80bfda7899 Merge pull request #386 from seandlg/patch-1
Fix a typo
2022-03-27 22:53:53 +03:00
Roman Zeyde
1166917461 Merge pull request #384 from yanchenko-igor/master
Handle usupported extensions, fixes #383 fixes #379
2022-03-27 22:53:25 +03:00
Sean Eulenberg
d7f6ceb429 Fix a typo
Fix a typo
2022-03-24 09:28:47 +01:00
Igor Yanchenko
a8f2d74d02 Handle usupported extesions, fixes #383 2022-03-14 17:18:39 +02:00
Roman Zeyde
df84c4c15f Small style fixes following #382
Tested with `tox`.
2022-03-11 09:24:16 +02:00
Roman Zeyde
0662ced2f4 Merge pull request #382 from JamieDriver/blockstream_jade_support
Add support for the Blockstream Jade hww
2022-03-10 23:37:28 +02:00
Jamie C. Driver
471d0e03e7 Add support for the Blockstream Jade hww
Supports ssh and gpg, incl. ecdh/decryption.
Initially only supports curve 'nist256p1'.
2022-03-10 17:24:11 +00:00
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
2a9c9f7272
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 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 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