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
Matias Alejo Garcia
19584e1f26
add check in constructor
11 years ago
Matias Alejo Garcia
15c55e560a
support uncompressed pub keys also
11 years ago
Christopher Jeffrey
11c977ba70
fix: typo - s/Payment/PaymentACK/
11 years ago
Matias Alejo Garcia
14d3165a73
add fromPubKey to SIN
11 years ago
Christopher Jeffrey
2f6938bad0
paypro: fix handling of pki_data - cert arrays.
11 years ago
Matias Alejo Garcia
733835dc7c
removes unused / obsolete class "Sign.js"
11 years ago
Christopher Jeffrey
017f044b53
paypro: fix browser signatures with KJUR. move pem/der functions to common.
11 years ago
Christopher Jeffrey
604ac04f47
paypro: split up paypro into node/browser/common.
11 years ago
Christopher Jeffrey
cec71a51fd
paypro: add isTrusted function to RootCerts.
11 years ago
Christopher Jeffrey
672e667e9c
paypro: remove x509.js
11 years ago
Christopher Jeffrey
85d5e69fc1
paypro: move root certs to common.
11 years ago
Christopher Jeffrey
86efcbed1b
paypro: remove all references of KJUR.
11 years ago
Christopher Jeffrey
92b7fad243
paypro: start using our own DERtoPEM functions so we don't have to require jsrsasign.
11 years ago
Christopher Jeffrey
ec5a948400
paypro: fix pem/der functions.
11 years ago
Christopher Jeffrey
02f9ce8dfd
paypro: temporarily fix tests.
11 years ago