Christopher Jeffrey
e9b0e7b969
Revert "paypro: asn1.js debugging - try to get tbs buffer."
This reverts commit 3c7aeb4f62
.
11 years ago
Christopher Jeffrey
3c7aeb4f62
paypro: asn1.js debugging - try to get tbs buffer.
11 years ago
Christopher Jeffrey
11c478d1a9
paypro: fix chain validation for browser.
11 years ago
Christopher Jeffrey
4e325c3fa9
paypro: fix root cert check.
11 years ago
Christopher Jeffrey
f0757498b6
paypro: use asn1.js in browser paypro.
11 years ago
Christopher Jeffrey
4a12d5a491
paypro: verify chain refactor.
11 years ago
Christopher Jeffrey
16b646d0e7
paypro: asn1.js - cleanup.
11 years ago
Christopher Jeffrey
5085880bd0
paypro: use fedor's asn1.js to deal with DER certificates.
11 years ago
Christopher Jeffrey
569e60065a
paypro: verify the certificate chain.
11 years ago
Christopher Jeffrey
6828f560da
paypro: fix root certs.
11 years ago
Curtis Lacy
798f8ad1be
Revised error message per feedback on PR.
11 years ago
Curtis Lacy
49bd46b8b1
Made the error message when we encounter an unknown script pubkey more clear.
11 years ago
Christopher Jeffrey
730e8236cf
bip21: fix regex parse error.
11 years ago
Christopher Jeffrey
363e27d493
bip21: check for arg `r=` and set merchant.
11 years ago
Christopher Jeffrey
11ecfd1667
bip21: use triple equal for consistency.
11 years ago
Christopher Jeffrey
f46cc65aba
bip21: use RegExp.exec instead of String.match.
11 years ago
Yemel Jardi
ea22f1361f
Add validation of required arguments for future use
11 years ago
Yemel Jardi
ac525f226c
Add BIP21 implementation
11 years ago
Ryan X. Charles
9f9e2f1d41
k should be 32 bytes, not 8 bytes
This is a bug with security implications. It is much easier to guess the value
of k within a 64 byte range. This would lead to compromised private keys.
The cryptography interface of bitcore is extremely poor. I recommend:
* Get rid of the C++ code, since it makes everything more difficult with little benefit
* Refactor all crypto, and have easily auditable bignum, point, ecdsa, and key classes
* Then actually audit the crypto
11 years ago
Manan Patel
589418d66c
setting networks.livenet as the default for WalletKey
11 years ago
Manuel Araoz
895046cc32
fix browser tests
11 years ago
Manuel Araoz
ca16817a1c
generalize version numbers
11 years ago
Manuel Araoz
e44b2480aa
add AuthMessage and fix browser tests
11 years ago
Christopher Jeffrey
124d1a2fc3
paypro: expose RootCerts on PayPro.
11 years ago
Manuel Araoz
80b5fcc614
add is* tests for Script
11 years ago
Manuel Araoz
b727cc0d7c
add Script validation tests
11 years ago
Manuel Araoz
bed6ccaac0
start adding script tests
11 years ago
Ryan X. Charles
f87da3b5ba
add support for signing messages in compressed format
...this is the standard way to sign messages in bitcoin-qt. Note that the
format of a compressed signature, for messages, is quite distinct from DER
format, which is used in transactions. This commit also adds support for
recovering the public key from a signature, which is necessary for this. The
code for public key recover is taken from bitcoinjs-lib.
11 years ago
Matias Alejo Garcia
1c6ec69c48
fix lossing signatured after from-toObj roundtrip
11 years ago
Christopher Jeffrey
8a84092be9
root-certs: use hasOwnProperty check instead of __proto__=null.
11 years ago
Christopher Jeffrey
c533db4f42
minor: remove redundant toUpperCase calls.
11 years ago
Christopher Jeffrey
dd165ecf63
paypro: root certs - do not inherit from Object.
11 years ago
Christopher Jeffrey
5b4c4f3894
paypro: get root cert names.
11 years ago
Christopher Jeffrey
0020e289d8
paypro: allow identification of root certs.
11 years ago
Matias Alejo Garcia
1b37d88e9a
accept amount a strings in setOutput
11 years ago
Matias Alejo Garcia
8660120add
fix checkMerge, and tests
11 years ago
Manuel Araoz
0cfd5e43a8
fix merge
11 years ago
Manuel Araoz
c0d51916df
add support code for copay's new tx proposal check
11 years ago
Manuel Araoz
b222550dd0
add Transaction#getReceivingAddresses and send
11 years ago
Manuel Araoz
f1d7662a70
fix browser tests
11 years ago
Manuel Araoz
8a88c3ccd0
finish basic tests
11 years ago
Manuel Araoz
2fb5d7d3a5
change test to use sinon
11 years ago
Manuel Araoz
837658034a
one test passes
11 years ago
Manuel Araoz
f8d7d1da9d
add Transaction#getReceivingAddresses and send
11 years ago
Manuel Araoz
486f2ae1dc
starting NetworkMonitor implementation
11 years ago
Matias Alejo Garcia
68b1211c4c
formated using js-beautify
11 years ago
Matias Alejo Garcia
8e1de31797
test passing.
11 years ago
Matias Alejo Garcia
2f97390849
formatted with js-beautify
11 years ago
Matias Alejo Garcia
397fc8607f
new to/from Obj. WIP
11 years ago
Matias Alejo Garcia
71f992138b
add check in constructor of Address
11 years ago