1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
Commit Graph

14016 Commits

Author SHA1 Message Date
Roman Zeyde
749cf8b75f gui: fixup after ECDSA updates 2015-07-07 10:58:08 +03:00
Roman Zeyde
ea16aa0b86 Remove unnecessary #include "secp256k1.h" 2015-07-07 10:39:12 +03:00
Roman Zeyde
587d6a65ea Update documentation regarding ECDSA curves support 2015-07-07 10:38:16 +03:00
Pavol Rusnak
f2ef64228a Merge pull request #37 from jdb6167/master
Fixed issues with Python files
2015-07-06 19:00:29 +02:00
Josh Billings
cb0b5169c5 whitespace 2015-07-06 12:48:11 -04:00
Josh Billings
d2120d6da1 two bugfixes: 1. nist256p1.c was not included in setup.py, causing import errors when using TrezorCrypto.so in Python. 2. if you attempted a hardened derivation in python using the compiled TrezorCrypto module, an IntegerOverflowError would occur because Python ints are always signed. one-line fix by changing int to unsigned int in the pyx file 2015-07-06 12:43:30 -04:00
Pavol Rusnak
9ae7d6bf65 simplify layout Dialog in SignIdentity 2015-07-04 23:45:57 +02:00
Pavol Rusnak
d38c2ed59f Merge pull request #36 from romanz/docker-build
firmware-docker-build: revert branch and repository selection
2015-07-04 23:42:26 +02:00
Pavol Rusnak
e4d86a49ab rework SignIdentity signing 2015-07-04 23:40:55 +02:00
Roman Zeyde
104369d97b firmware-docker-build: revert branch and repository 2015-07-04 14:49:30 +03:00
Pavol Rusnak
eaf209d999 implement CipherKeyValue.iv field 2015-06-29 16:36:50 +02:00
Pavol Rusnak
551741c67a update submodules 2015-06-28 21:28:00 +02:00
Pavol Rusnak
d488366e36 Merge branch 'master' of git://github.com/romanz/trezor-mcu into romanz-master
Conflicts:
	firmware/crypto.c
2015-06-28 21:26:15 +02:00
Pavol Rusnak
71c24673ce Merge branch 'ssh-agent' of git://github.com/romanz/trezor-crypto into romanz-ssh-agent
Conflicts:
	ecdsa.c
2015-06-28 21:22:50 +02:00
Pavol Rusnak
82a66c2764 Merge pull request #32 from romanz/ssh-agent
enable Trezor to perform SSH public key authentication
2015-06-28 21:15:58 +02:00
Pavol Rusnak
6f975532c0 Merge pull request #38 from romanz/ssh-agent
update protobuf with ECDSA curve selection
2015-06-28 21:09:33 +02:00
Pavol Rusnak
d334bbf740 Merge pull request #6 from romanz/ssh-agent
add ECDSA curve name specification (for SSH authentication)
2015-06-28 21:08:01 +02:00
Pavol Rusnak
36caf5b33a Merge pull request #35 from romanz/master
ecdsa: generate_k_rfc6979() should cleanup its stack before exit
2015-06-28 21:01:57 +02:00
Roman Zeyde
381f90b38a cryptoMessageSign() should check the return value of ecdsa_sign_digest() 2015-06-27 10:20:19 +03:00
Roman Zeyde
36847ac0d7 ecdsa: generate_k_rfc6979() should cleanup its stack before exit 2015-06-27 10:08:18 +03:00
Roman Zeyde
0ac032917b enable Trezor to perform SSH public key authentication
support both NIST256P1 and SECP256K1 ECDSA curves.
2015-06-26 10:43:39 +03:00
Roman Zeyde
7c58fc11a4 Add support for NIST256P1 elliptic curve
This enables SSH ECDSA public key authentication.
2015-06-26 10:33:14 +03:00
Roman Zeyde
b155b83ca5 update protobuf with ECDSA curve selection 2015-06-23 17:26:31 +03:00
Roman Zeyde
12288143f5 add ECDSA curve name specification (for SSH authentication) 2015-06-23 14:40:58 +03:00
Pavol Rusnak
0983c6c456 Merge pull request #34 from JohnDvorak/patch-1
Change return value of ecdsa_sign_digest
2015-06-18 15:58:12 +02:00
John Dvorak
85cebfe968 Change return value of ecdsa_sign_digest
Error codes were not being propagated, always returned as 0.
2015-06-18 09:55:12 -04:00
Pavol Rusnak
e14363eb99 add CipherKeyValue.iv field (optional initialization vector) 2015-06-17 13:57:19 +02:00
Pavol Rusnak
d8f3a47eaf cleanup and release 0.6.5 2015-06-03 16:47:01 +02:00
Pavol Rusnak
05bdc56a8b release 0.6.4 2015-06-03 14:54:13 +02:00
Pavol Rusnak
16c07561b5 don't assign tx_api when not needed 2015-06-03 14:53:53 +02:00
Pavol Rusnak
b4728e6cf9 Merge pull request #27 from jhoenicke/master
New usbDelay that delays and handles USB requests
2015-05-25 10:57:40 +02:00
Pavol Rusnak
02040421cb fix param order in memset 2015-05-18 13:37:44 +02:00
Pavol Rusnak
83b1b86f95 Update hashbang to use /usr/bin/env python 2015-05-13 10:23:02 +02:00
Pavol Rusnak
99f58ac25d Merge pull request #37 from mdance/master
Update hashbang to use /usr/bin/env python
2015-05-13 10:22:02 +02:00
Michael Dance
d995059656 Update hashbang to use /usr/bin/env python 2015-05-13 11:55:39 +12:00
slush0
591ac01b75 Merge pull request #36 from mdance/patch-2
Update hashbang to use /usr/bin/env python in helloworld.py
2015-05-12 17:48:50 +02:00
Pavol Rusnak
7dc8b6aa8f Merge pull request #35 from mdance/patch-1
Update hashbang to use /usr/bin/env python
2015-05-12 16:37:25 +02:00
Michael Dance
c28bf68740 Update hashbang to use /usr/bin/env python
Please use the /usr/bin/env python hashbang in order to properly detect alternative python installations (like those installed through homebrew on a mac).
2015-05-13 02:36:56 +12:00
Michael Dance
dae4424fca Update hashbang to use /usr/bin/env python
Please use the /usr/bin/env python hashbang in order to properly detect alternative python installations (like those installed through homebrew on a mac).
2015-05-13 02:35:48 +12:00
Pavol Rusnak
c58d4e03c5 add proof of concept bip39 bruteforce benchmark 2015-05-11 14:24:45 +02:00
Pavol Rusnak
90678eec73 use 51 prefix for udev (same as trezord) 2015-05-11 09:16:45 +02:00
Pavol Rusnak
04bc56e048 Merge pull request #34 from jhoenicke/master
insight api: use hex code
2015-05-10 16:41:12 +02:00
Jochen Hoenicke
337fe029fd insight api: use hex code
The insight api transaction parser used to look at the assembly to
reconstruct the input and output scripts.  This patch changes it to
use the hex input directly.  This fixes parsing some instructions with
unknown opcodes (e.g. multisig inputs with "0" opcode).
2015-05-10 16:11:03 +02:00
Pavol Rusnak
bf539f0b47 split xprv unit test into two 2015-05-07 21:16:43 +02:00
Pavol Rusnak
72f2f5ced6 Merge pull request #29 from dstanchfield/master
fixed salt passing to pbkdf2_hmac_sha512
2015-05-07 18:41:32 +02:00
Pavol Rusnak
fdbdb527dc add test for encrypted xprv 2015-05-07 18:29:38 +02:00
Pavol Rusnak
e2a8f08581 add local version of filecache (used just for unittests), cache globally (to tmpdir) 2015-05-07 18:29:38 +02:00
Pavol Rusnak
17f3942f77 remove images 2015-05-07 18:29:38 +02:00
Pavol Rusnak
9954514c76 Merge pull request #33 from jhoenicke/master
Don't spam the usb.
2015-05-07 17:51:53 +02:00
Darin Stanchfield
e99aafd949 fixed salt passing to pbkdf2_hmac_sha512 2015-05-05 12:01:34 -07:00