Roman Zeyde
|
e3286a4510
|
gpg: don't clear the session after PIN is entered
This would allow single PIN entry when running multiple GPG commands.
|
8 years ago |
Roman Zeyde
|
fcd5671626
|
Handle keyinfo request (#44)
gpg: handle KEYINFO request
See https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=agent/command.c;h=9522f898997e95207d59122d056f0f0be03ccecb;hb=6bee88dd067e03e7767ceacf6a849d9ba38cc11d#l1027 for more details.
|
8 years ago |
Roman Zeyde
|
18be290bd6
|
Merge branch 'fix_agent' of https://github.com/Solution4Future/trezor-agent into Solution4Future-fix_agent
|
8 years ago |
Roman Zeyde
|
784e14647a
|
Merge branch 'master' into HEAD
Conflicts:
trezor_agent/factory.py
|
8 years ago |
Dominik Kozaczko
|
cf27b345f6
|
better handling of keepkey dependency; fixes #36
|
8 years ago |
Dominik Kozaczko
|
3aebd137b0
|
removed .decode('ascii') and added missing bytestrings
|
8 years ago |
Roman Zeyde
|
96eede9c83
|
Merge branch 'np-encode-subpackets'
|
8 years ago |
Roman Zeyde
|
91146303a3
|
Follow GPG implementation for subpacket prefix encoding.
Conflicts:
trezor_agent/gpg/protocol.py
|
8 years ago |
Roman Zeyde
|
17c8bd0e92
|
gpg: add experimental warning
|
8 years ago |
Nicolas Pouillard
|
016e864503
|
Attempt at fixing issue #32
|
8 years ago |
Roman Zeyde
|
57e09248db
|
Merge pull request #31 from romanz/master
Update ledger branch with the latest changes from master branch
|
8 years ago |
Nicolas Pouillard
|
adcbe6e7b2
|
gpg/decode/parse_subpackets: parse subpacket length according to RFC
|
8 years ago |
Roman Zeyde
|
05fada91d2
|
gpg: use gpgconf to get correct GPG agent UNIX socket path
|
8 years ago |
Roman Zeyde
|
27a3fddfa2
|
gpg: add a note about restoring GPG keys with --time command-line flag
|
8 years ago |
Roman Zeyde
|
030ae4c3f6
|
gpg: include unsupport hash algorithm ID in exception message
|
8 years ago |
Roman Zeyde
|
c4bbac0e77
|
util: move BIP32 address related functions
|
8 years ago |
Roman Zeyde
|
45f6f1a3d8
|
gpg: allow setting GPG home directory via $GNUPGHOME
|
8 years ago |
Roman Zeyde
|
c4c56b9faf
|
gpg: no support for empty user_id
|
8 years ago |
Roman Zeyde
|
82e08d073b
|
gpg: rename proto -> protocol
|
8 years ago |
Roman Zeyde
|
8ab0908388
|
proto: don't hardcode name length
|
8 years ago |
Roman Zeyde
|
295d52ef10
|
gpg: move 'iterlines' to keyring
|
8 years ago |
Roman Zeyde
|
8a51099488
|
gpg: remove unused "sign_message"
|
8 years ago |
Roman Zeyde
|
f4dd1eacdd
|
gpg: allow parsing multiple keys
|
8 years ago |
Roman Zeyde
|
b9b7b8dafd
|
gpg: re-structure public key packets for easier parsing
|
8 years ago |
Roman Zeyde
|
744696fdee
|
gpg: decode user_attribute packets
|
8 years ago |
Roman Zeyde
|
ccdbc7abfc
|
gpg: parse_packets() should get file-like stream
and wrap it with util.Reader()
|
8 years ago |
Roman Zeyde
|
e70f0ec681
|
gpg: refactor hash algorithm handling
|
8 years ago |
Roman Zeyde
|
aeaf978d8e
|
gpg: add mulitple GPG public keys as test vectors
|
8 years ago |
Roman Zeyde
|
d60fff202a
|
gpg: don't validate non-ECDSA signatures
|
8 years ago |
Jochen Hoenicke
|
a2e46048a1
|
Use TREZOR_GPG_USER_ID in agent
|
8 years ago |
Jochen Hoenicke
|
e66b0f47ed
|
More robust gpg key parsing
Handle new packet format.
Ignore unknown packets.
Handle packets that are not immediately followed by signature.
Handle other hash algorithms.
|
8 years ago |
Roman Zeyde
|
db874ad98f
|
README: add GPG part
|
8 years ago |
Roman Zeyde
|
75f879edbb
|
gpg: update README.md
|
8 years ago |
Roman Zeyde
|
45a85a317b
|
gpg: allow setting UNIX socket from command-line
|
8 years ago |
Roman Zeyde
|
7b3874e6f7
|
gpg: fixup logging during key creation
|
8 years ago |
Roman Zeyde
|
6c96cc37b9
|
gpg: add support for adding subkeys to EdDSA primary GPG keys
|
8 years ago |
Roman Zeyde
|
c98cb22ba4
|
gpg: use separate derivations for GPG keys
|
8 years ago |
Roman Zeyde
|
d9fbfccd35
|
gpg: load correct key if ECDH is requested
|
8 years ago |
Roman Zeyde
|
fe4d9ed3c8
|
gpg: add SLIP-0017 support for ECDH session key generation
|
8 years ago |
Roman Zeyde
|
602e867c7d
|
gpg: add test for keygrip
|
8 years ago |
Roman Zeyde
|
16de8cdabc
|
agent: refactor signature and ECDH
|
8 years ago |
Roman Zeyde
|
7bbf11b631
|
gpg: refactor key creation
|
8 years ago |
Roman Zeyde
|
3e41fddcef
|
gpg: add test for ECDH pubkey generation
|
8 years ago |
Roman Zeyde
|
8108e5400d
|
gpg: support TREZOR-based primary key
|
8 years ago |
Roman Zeyde
|
a1659e0f0d
|
gpg: add preferred symmetric algo
|
8 years ago |
Roman Zeyde
|
3b139314b6
|
gpg: refactor sign_message method
|
8 years ago |
Roman Zeyde
|
a05cff5079
|
gpg: use "gpg2" for 'git config --local gpg.program'
|
8 years ago |
Roman Zeyde
|
694cee17ac
|
gpg: refactor create_* methods
|
8 years ago |
Roman Zeyde
|
bc281d4411
|
gpg: use local version
|
8 years ago |
Roman Zeyde
|
04af6b737b
|
gpg: remove extra param from Factory.from_public_key()
|
8 years ago |