Roman Zeyde
|
decd3ddf75
|
gpg: fixup str/bytes issues
|
8 years ago |
Roman Zeyde
|
4c07b360cd
|
gpg: fix pep8/pylint warning
|
8 years ago |
Roman Zeyde
|
0b0f60dd89
|
gpg: rename load_from_gpg -> get_public_key
|
8 years ago |
Roman Zeyde
|
db6903eab7
|
gpg: rename agent -> keyring
|
8 years ago |
Roman Zeyde
|
171a0c2f6a
|
gpg: remove agent's main
|
8 years ago |
Roman Zeyde
|
a535b31a1b
|
gpg: fixup lint/pep8
|
8 years ago |
Roman Zeyde
|
ee4bcddd22
|
gpg: rename main API
|
8 years ago |
Roman Zeyde
|
f626d34e21
|
gpg: using closing() context handler
|
8 years ago |
Roman Zeyde
|
2cf081420f
|
gpg: move armor to proto
|
8 years ago |
Roman Zeyde
|
0e72e3b7ff
|
gpg: move PublicKey to proto
|
8 years ago |
Roman Zeyde
|
ce61c8b2ae
|
gpg: move timeformat from util
|
8 years ago |
Roman Zeyde
|
3192e570ed
|
gpg: initial support for ElGamal and DSA
Doesn't verify anything (yet).
|
8 years ago |
Roman Zeyde
|
bf8f516ef4
|
gpg: no visual challenge
|
9 years ago |
Roman Zeyde
|
51f7d6120b
|
client: not visual challength for SSH
|
9 years ago |
Roman Zeyde
|
0cb7cf0746
|
Merge branch 'python3'
|
9 years ago |
Roman Zeyde
|
b4ff31f816
|
gpg: handle ECDH keys
|
9 years ago |
Roman Zeyde
|
6e9d6d6430
|
gpg: add URLs for subpackets
|
9 years ago |
Roman Zeyde
|
fa9391ede6
|
gpg: update required firmware version
|
9 years ago |
Roman Zeyde
|
ad8eafe6f8
|
Merge branch 'master' into python3
Conflicts:
setup.py
|
9 years ago |
Roman Zeyde
|
695079e4b9
|
agent: raise explicit error when signature fails
|
9 years ago |
Roman Zeyde
|
9888ef971a
|
gpg: add installation command to README
|
9 years ago |
Roman Zeyde
|
4270d8464f
|
gpg: add screencasts
|
9 years ago |
Roman Zeyde
|
25a427081c
|
gpg: add more output examples
|
9 years ago |
Roman Zeyde
|
939fdbe829
|
gpg: add output examples
|
9 years ago |
Roman Zeyde
|
1f126f3002
|
gpg: better logging
|
9 years ago |
Roman Zeyde
|
78526d1379
|
gpg: install gpg-git wrapper script
|
9 years ago |
Roman Zeyde
|
7e3c3b4f77
|
gpg: fixup README
|
9 years ago |
Roman Zeyde
|
513c19bf1f
|
gpg: remove unused files
|
9 years ago |
Roman Zeyde
|
f1e75783c4
|
gpg: use environment variable for user_id
|
9 years ago |
Roman Zeyde
|
68637525ea
|
Merge branch 'master' into python3
|
9 years ago |
Roman Zeyde
|
fce45832c2
|
gpg: fix small typo
|
9 years ago |
Roman Zeyde
|
df001c4100
|
gpg: rename README
|
9 years ago |
Roman Zeyde
|
1a228a1af6
|
gpg: refactor cli
|
9 years ago |
Roman Zeyde
|
2846c0bf1a
|
util: add tests for gpg-related code
|
9 years ago |
Roman Zeyde
|
b2147a8418
|
formats: curve name should be a string
|
9 years ago |
Roman Zeyde
|
d9c4e930f3
|
main: fixup str/bytes issue for curve_name
|
9 years ago |
Roman Zeyde
|
6fd6fe6520
|
handle missing imports
|
9 years ago |
Roman Zeyde
|
4a7fef3011
|
gpg: fix logging and arguments in demo
|
9 years ago |
Roman Zeyde
|
a0e476ea19
|
gpg: remove unused code
|
9 years ago |
Roman Zeyde
|
683aae7aa4
|
gpg: add logging for digest
|
9 years ago |
Roman Zeyde
|
d369638c7b
|
gpg: add a script for faster commit verification
|
9 years ago |
Roman Zeyde
|
07c4100618
|
gpg: fixup logging and make sure it works with git
|
9 years ago |
Roman Zeyde
|
b9f139b74a
|
gpg: refactor subkey as pubkey
|
9 years ago |
Roman Zeyde
|
3bf926620b
|
gpg: handle multiple packets
|
9 years ago |
Roman Zeyde
|
ab192619f4
|
gpg: move protocol utils to proto.py
|
9 years ago |
Roman Zeyde
|
f982d785bd
|
gpg: add marker to our pubkey signature packets
|
9 years ago |
Roman Zeyde
|
31c3686fa4
|
gpg: small fixes
|
9 years ago |
Roman Zeyde
|
87ca33c104
|
gpg: fixup encoding for large packets
|
9 years ago |
Roman Zeyde
|
c3d23ea7f5
|
gpg: allow longer packets
|
9 years ago |
Roman Zeyde
|
5c04d17c43
|
gpg: demo with ed25519 TREZOR-based keys
|
9 years ago |
Roman Zeyde
|
2d2d6efa93
|
gpg: small refactoring
|
9 years ago |
Roman Zeyde
|
131c30acca
|
gpg: use explicit public key algo_id
|
9 years ago |
Roman Zeyde
|
a7ef263954
|
gpg: generalize RSA/ECDSA signatures
|
9 years ago |
Roman Zeyde
|
d486c1ee7b
|
gpg: refactor agent rsa/ecdsa signature parsing
|
9 years ago |
Roman Zeyde
|
f35b5be3ac
|
gpg: 1st try for RSA primary key support
|
9 years ago |
Roman Zeyde
|
9ed9781496
|
gpg: support RSA decode and verify
|
9 years ago |
Roman Zeyde
|
5d007260e1
|
gpg: add docstrings
|
9 years ago |
Roman Zeyde
|
7dfa3ab255
|
gpg: replace PublicKey.curve_name attribute
|
9 years ago |
Roman Zeyde
|
b8eba72d0b
|
gpg: fixup subkey/export handling
|
9 years ago |
Roman Zeyde
|
492285de1b
|
gpg: rename pubkey methods
|
9 years ago |
Roman Zeyde
|
cc326b1f7d
|
gpg: pubkey is not needed for make_signature
|
9 years ago |
Roman Zeyde
|
169ff39b1a
|
gpg: remove visual keyword for now
|
9 years ago |
Roman Zeyde
|
dcc7ef2600
|
minor fixes
|
9 years ago |
Roman Zeyde
|
ac2d12b354
|
It works again!
|
9 years ago |
Roman Zeyde
|
f3b49ff553
|
gpg: use strict bash mode for demo
|
9 years ago |
Roman Zeyde
|
12d640c66b
|
fixup pep8
|
9 years ago |
Roman Zeyde
|
32984d2d3f
|
agent: add support for gpg passphrase entry
|
9 years ago |
Roman Zeyde
|
a45c6c1300
|
horrible hack - but IT WORKS!!!
|
9 years ago |
Roman Zeyde
|
1d3ba7e9b7
|
subkey: add backsig
|
9 years ago |
Roman Zeyde
|
673b1df648
|
1st try
|
9 years ago |
Roman Zeyde
|
e63f03354e
|
gpg: refactor signing providers from actual Signer class
|
9 years ago |
Roman Zeyde
|
3c9c1b4e14
|
gpg: export verifying_key from parsing
|
9 years ago |
Roman Zeyde
|
5caf4728ee
|
gpg: fixup comment
|
9 years ago |
Roman Zeyde
|
dde6dcdaeb
|
gpg: fix unpacking for subkey-case
|
9 years ago |
Roman Zeyde
|
1f3c989884
|
gpg: 'dump' -> 'serialize'
|
9 years ago |
Roman Zeyde
|
55dea41959
|
gpg: make sure gpg-agent is running before connecting
|
9 years ago |
Roman Zeyde
|
ed01c00d0c
|
gpg: add agent-signing tool
|
9 years ago |
Roman Zeyde
|
e09571151c
|
gpg: remove length type logging
|
9 years ago |
Roman Zeyde
|
340aae4fb8
|
gpg: refactor decode to functional style
|
9 years ago |
Roman Zeyde
|
9875c9927e
|
gpg: demo for subkeys decoding
|
9 years ago |
Roman Zeyde
|
d9862ae0e1
|
gpg: debug logging for ECDSA verification
|
9 years ago |
Roman Zeyde
|
5fb8b0e047
|
decode: parse GPG subkeys
|
9 years ago |
Roman Zeyde
|
324fc21a5c
|
decode: refactor digest calculation
|
9 years ago |
Roman Zeyde
|
e2f5ccafdf
|
signer: allow importing to local keyring (using "-o" flag)
|
9 years ago |
Roman Zeyde
|
a0b4776374
|
gpg: fixup exception message
|
9 years ago |
Roman Zeyde
|
5abc3dc41b
|
gpg: fix check script -v option
|
9 years ago |
Roman Zeyde
|
3c2eb64e0d
|
gpg: fixup demo script
|
9 years ago |
Roman Zeyde
|
67d58a5ae0
|
Merge pull request #10 from romanz/gpg
GPG v2.1 support
|
9 years ago |
Roman Zeyde
|
9a435ae23e
|
gpg: minor renames and code refactoring
|
9 years ago |
Roman Zeyde
|
d7913a84d5
|
gpg: pydocstyle fixes
|
9 years ago |
Roman Zeyde
|
a114242243
|
gpg: small fixes before merging to master
|
9 years ago |
Roman Zeyde
|
b6dbc4aa81
|
gpg: small fixes before merging to master
|
9 years ago |
Roman Zeyde
|
6cc3a629a8
|
gpg: export git-gpg wrapper
should be used as 'gpg.program' in .git/config
|
9 years ago |
Roman Zeyde
|
40377fc66b
|
gpg: add __init__.py
|
9 years ago |
Roman Zeyde
|
489c8fe357
|
gpg: rename git wrapper
|
9 years ago |
Roman Zeyde
|
6f4f33bfa5
|
gpg: verify signature after signing
|
9 years ago |
Roman Zeyde
|
76ce25fab1
|
gpg: fixup imports
|
9 years ago |
Roman Zeyde
|
5506310239
|
gpg: move under trezor_agent
|
9 years ago |
Roman Zeyde
|
74f7ebf228
|
gpg: support ed25519 decoding
|
9 years ago |
Roman Zeyde
|
b6cfa0c03f
|
main: show better error when no SSH remote is found
|
9 years ago |
Roman Zeyde
|
861401e89a
|
client: make get_address() public
|
9 years ago |
Roman Zeyde
|
335d050212
|
formats: fixup comment
|
9 years ago |
Roman Zeyde
|
f056f1fac5
|
fixup lint errors
|
9 years ago |
Roman Zeyde
|
0e2a19f7ce
|
client: fixup UT
|
9 years ago |
Roman Zeyde
|
2cdbc89d28
|
protocol: fixup UT
|
9 years ago |
Roman Zeyde
|
1022e54d6a
|
protocol: fail gracefully on cancellation
|
9 years ago |
Roman Zeyde
|
ea88f425f5
|
protocol: fail on unsupported commands
|
9 years ago |
Roman Zeyde
|
000860feaf
|
main: add --test flag for verifying SSH configuration
https://help.github.com/articles/testing-your-ssh-connection/
|
9 years ago |
Roman Zeyde
|
2a5196003e
|
tests: update for CallException handling
|
9 years ago |
Roman Zeyde
|
e10b42bbb5
|
client: catch CallException for cancellation handling
|
9 years ago |
Roman Zeyde
|
b07d7e6535
|
server: handle IOError gracefully
|
9 years ago |
Roman Zeyde
|
4838030be5
|
factory: add CallException type
|
9 years ago |
Roman Zeyde
|
c9f341a42b
|
main: handle 'pushurl' and 'url' remote settings
|
9 years ago |
Roman Zeyde
|
bdd2568b2c
|
main: log pubkey fingerprint on INFO level
|
9 years ago |
Roman Zeyde
|
e6ccc324a0
|
main: ignore path from git remote URL
It's much easier to use single keypair per user@host
|
9 years ago |
Roman Zeyde
|
98e875562e
|
main: add `trezor-git` entry point
|
9 years ago |
Roman Zeyde
|
4384b93c19
|
main: remove unneeded use_shell parameter
|
9 years ago |
Roman Zeyde
|
8a90a8cd84
|
main: split git from ssh
|
9 years ago |
Roman Zeyde
|
1e86983782
|
main: split argument parser
|
9 years ago |
Roman Zeyde
|
c63201c90c
|
client: show visual challenge
|
9 years ago |
Roman Zeyde
|
19b00dc427
|
client: add logging for challenge sizes
|
9 years ago |
Roman Zeyde
|
8909b38107
|
main: use command-line for git interaction
|
9 years ago |
Roman Zeyde
|
d6532311b9
|
fix PEP8 & docstrings
|
9 years ago |
Roman Zeyde
|
41b30b42b5
|
main: add git identity via "origin" remote
|
9 years ago |
Roman Zeyde
|
2c7fabfa35
|
tests: add docstrings
|
9 years ago |
Roman Zeyde
|
1adccdbfe6
|
__init__: add docstrings
|
9 years ago |
Roman Zeyde
|
04f4bbf2ac
|
main: add docstrings
|
9 years ago |
Roman Zeyde
|
bbe963d0ff
|
util: rename UTs
|
9 years ago |
Roman Zeyde
|
c49514754b
|
util: add docstrings
|
9 years ago |
Roman Zeyde
|
2ebefff909
|
server: add docstrings
|
9 years ago |
Roman Zeyde
|
21e89014c9
|
protocol: add docstrings and replace custom exceptions
|
9 years ago |
Roman Zeyde
|
566e4310e1
|
formats: add docstrings
|
9 years ago |
Roman Zeyde
|
e1441518d4
|
factory: add docstrings
|
9 years ago |
Roman Zeyde
|
5cb12a43de
|
client: add docstrings
|
9 years ago |
Roman Zeyde
|
d712509a4e
|
client: show current time instead of identity.path
|
9 years ago |
Roman Zeyde
|
40e2d9fb2c
|
fixup imports order
isort -rc trezor_agent
|
9 years ago |
Roman Zeyde
|
cd4cc059d6
|
main: remove git-config parsing code
|
9 years ago |
Roman Zeyde
|
2b047f0525
|
main: refactor shell flag
|
9 years ago |
Roman Zeyde
|
64776fd294
|
rename client test
|
9 years ago |
Roman Zeyde
|
231995bd1a
|
remove trezor module
|
9 years ago |
Roman Zeyde
|
ff76f17c02
|
client: elaborate SSH blob parsing
|
9 years ago |
Roman Zeyde
|
963e80b49b
|
client: move logging from parsing code
|
9 years ago |
Roman Zeyde
|
dee13b75ea
|
client: remove unneeded 'if'
|
9 years ago |
Roman Zeyde
|
be86507e00
|
client: pass index as default argument
|
9 years ago |
Roman Zeyde
|
2f2663ef94
|
client: set identity index explicitly
|
9 years ago |
Roman Zeyde
|
cafa218e19
|
server: pass handler and add debug option
|
9 years ago |
Roman Zeyde
|
50b627ed45
|
protocol: allow debugging SSH message handler
|
9 years ago |
Roman Zeyde
|
7f36097c15
|
tests: refactor mocks and fakes
|
9 years ago |
Roman Zeyde
|
2eff21f96c
|
factory: refactor for easier testing
|
9 years ago |
Roman Zeyde
|
9afd07e867
|
server: make sure accepted UNIX sockets are blocking
It was a problem on Mac OS X, where sometimes we got EAGAIN
errors from calling socket.recv() on them.
|
9 years ago |