Commit Graph

348 Commits

Author SHA1 Message Date
“thoatbk”
28bb0f4cfc enforce low S values for key signing, check BIP62 for details 2014-12-11 22:38:22 +01:00
“thoatbk”
684c306833 enforce low S values on key signing, read BIP62 for details (reverted from commit 722e2efeae) 2014-12-11 22:31:56 +01:00
“thoatbk”
722e2efeae enforce low S values on key signing, read BIP62 for details 2014-12-11 00:37:46 +01:00
Luke
5d2d5ef024 Include rejectUnauthorized in options 2014-12-09 13:44:07 +00:00
Luke
0d58557cac Allow SSL connections to bitcoind
This is required as, by default, self-signed certificates are rejected as was commented in #436
2014-12-02 23:49:17 +00:00
Philip Hutchins
cd69983c31 Adding more detailed logging with host and port when there are RPC connection issues 2014-11-26 23:04:15 -05:00
Matias Alejo Garcia
4984d81284 serialize only the list of selected utxos, if available 2014-11-20 19:11:46 -03:00
Manuel Aráoz
b18ee9a49d Merge pull request #552 from braydonf/bn-hex-padding
upgrade to new version of bn.js that includes hex padding
2014-11-10 11:29:24 -03:00
Braydon Fuller
5986e9b887 upgrade to new version of bn.js that includes hex padding 2014-11-03 17:13:09 -05:00
Sagiv Ofek
9096fc4928 allowing sign keys to be strings
no need to pass array of one element to sign a transaction, you can simply pass the private key string (one or more separated by commas) and convert it to array. make user's life easier :)
2014-11-01 01:25:16 -03:00
Manuel Aráoz
21c5cff10d Merge pull request #543 from eordano/style/package
Leaner package distribution
2014-10-27 12:58:17 -03:00
Manuel Araoz
c9c49da658 refactor changes 2014-10-27 10:21:57 -03:00
Esteban Ordano
e154c205b3 Leaner package distribution 2014-10-26 18:42:03 -03:00
Felipe Lima
693f2aac7b Fixes undefined check 2014-10-02 16:21:12 -03:00
Felipe Lima
ba9ff424c2 Fixes unhandled exceptions in Transaction 2014-10-02 16:21:12 -03:00
Manuel Aráoz
d98320a003 Merge pull request #509 from sagivo/patch-2
syntax fix - typeof is not a function, it's  an operator
2014-10-01 13:18:09 -03:00
Manuel Aráoz
0977a2c23b Merge pull request #490 from viacoin/op_return
Implement check for OP_RETURN
2014-09-25 08:38:43 -03:00
Christopher Jeffrey
2a696b5b6f root-certs: ensure JSON parses properly. 2014-09-10 10:20:11 -07:00
Christopher Jeffrey
59ac7079b1 paypro: convert root certs to json. 2014-09-09 17:52:13 -07:00
Christopher Jeffrey
3a3c546310 root-certs: move function out of root certs file. 2014-09-09 17:15:13 -07:00
Sagiv Ofek
d5618c186f syntax fix - typeof is not a function, it's an operator
following the comment of @shesek here: https://github.com/bitpay/bitcore/pull/500/files#r16642032
`typeof(foo)` should be `typeof foo`
2014-09-06 00:47:44 -04:00
Christopher Jeffrey
5145272575 paypro: handle concatenated pems in pem parser. 2014-09-05 17:56:13 -07:00
Christopher Jeffrey
8593ad461e paypro: pem parsing - rename variables. 2014-09-05 17:52:14 -07:00
Christopher Jeffrey
6e329b15bb paypro: add a full PEM parsing function. 2014-09-05 17:52:14 -07:00
Christopher Jeffrey
9dbe45ad03 paypro: account for PEM metadata as per rfc1424. 2014-09-05 17:52:14 -07:00
Christopher Jeffrey
b0f680ccda payro: fix crypto module require. 2014-09-04 15:31:43 -07:00
Christopher Jeffrey
b53e285a7c paypro: rename type to sigHashAlg. 2014-09-04 15:26:20 -07:00
Christopher Jeffrey
a50b9ed3a3 paypro: implement "none" pki_type. 2014-09-04 15:26:20 -07:00
Christopher Jeffrey
a73699ba64 paypro: add PayPro.verifyCertChain. 2014-09-04 15:26:20 -07:00
Christopher Jeffrey
4e883ceba6 paypro: grab npubKeyAlg in browser. 2014-09-04 15:26:20 -07:00
Ryan X. Charles
06b951f87a Merge pull request #498 from chjj/fix_cert_chain
Fix certificate chain and signature validation
2014-08-29 12:15:34 -07:00
Christopher Jeffrey
5c643e0be6 paypro: fix uncatchable error in browser paypro. 2014-08-28 19:22:48 -07:00
Christopher Jeffrey
18c38ae67a paypro: add returnTrust to sign(). minor improvements. 2014-08-28 18:58:58 -07:00
Christopher Jeffrey
dea39d1c72 paypro: immediately detect self signed certs and untrusted CAs. 2014-08-28 18:13:56 -07:00
Christopher Jeffrey
f34b98d253 paypro: allow users to return verification properties via PayPro.verify. 2014-08-28 17:50:57 -07:00
Christopher Jeffrey
e34f9a4061 paypro: remove old browser next pubKey code. 2014-08-28 17:37:41 -07:00
Christopher Jeffrey
f98ebe69d8 paypro: move validity and issuer validation into common. 2014-08-28 17:37:06 -07:00
Christopher Jeffrey
eba2825f5a paypro: get chain validation working in the browser. 2014-08-28 17:32:13 -07:00
Christopher Jeffrey
a39aeeb446 paypro: move tbs parsing into common. 2014-08-28 17:13:02 -07:00
Christopher Jeffrey
12c56854b9 paypro: more comments. debug. 2014-08-28 16:52:21 -07:00
Christopher Jeffrey
852ee54e36 paypro: lots of debugging. parse raw DER to get raw tbsCertificate. 2014-08-28 16:35:56 -07:00
Christopher Jeffrey
e86b70fd4a paypro: cleanup debugging code and comments. 2014-08-27 10:32:27 -07:00
Christopher Jeffrey
6cbf131919 paypro: move extensions to asn1.js 2014-08-27 10:30:55 -07:00
Christopher Jeffrey
60b266a0db paypro: more extension debugging. 2014-08-26 16:26:34 -07:00
Christopher Jeffrey
7115dc97a4 paypro: parse error workaround. 2014-08-26 15:20:25 -07:00
Christopher Jeffrey
c366a11145 paypro: ignore 2-3 failing parsers for now. 2014-08-26 15:18:26 -07:00
Christopher Jeffrey
69f3fbd03d paypro: a lot of parser debugging. 2014-08-26 15:17:06 -07:00
Christopher Jeffrey
4eec70205c paypro: drop extension if statements. 2014-08-26 11:59:14 -07:00
Christopher Jeffrey
379578aa15 paypro: refactoring. handle unkown extension. 2014-08-26 11:57:15 -07:00
Christopher Jeffrey
dde64fbb87 paypro: refactor extension parsing. 2014-08-26 11:10:10 -07:00