Christopher Jeffrey
ce2ca3a2f3
paypro: fix DERtoPEM.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
17c8dc6a10
minor: fix typo.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
3a6eda68d0
paypro: potentially stop using jsrsasign in node.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
f057037561
paypro: convert root certs to hash table in build file.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
ada11f3092
paypro: treat pki_data as an array.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
68ec8dd92d
minor: remove unused code.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
54f8472e54
paypro: temporarily disable untrusted cert error for tests. typo fix.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
2b7bae46d0
paypro: handle untrusted certs on browser and node.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
38283da2a3
paypro: get single DER certs working.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
0588844a9b
paypro: multiple fixes.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
4206d26dea
paypro: stat using jsrsasign to convert DER to PEM and derive public keys for sig verification.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
a0ebfe46bb
paypro: fix browser paypro. TODO: fix parsing DER certs.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
d4e5e4e69e
paypro: fix payment protocol for DER certs.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
430972c83d
paypro: begin checking trusted certs.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
be2f56a734
paypro: add createTrusted to browser build script.
2014-07-21 14:55:10 -07:00
Christopher Jeffrey
ed13983484
paypro: fix encodings with jsrsasign.
2014-07-21 14:54:38 -07:00
Christopher Jeffrey
f532fe2b41
paypro: clientside. start using jsrsasign api correctly.
2014-07-21 14:54:38 -07:00
Christopher Jeffrey
8e232fc75c
paypro: figure out clientside jsrasign more.
2014-07-21 14:54:38 -07:00
Christopher Jeffrey
06975afe00
paypro: try to figure out differences between browser and npm jsrsasign.
2014-07-21 14:54:38 -07:00
Christopher Jeffrey
8033e19fa3
paypro: use jsrsasign for browser.
2014-07-21 14:54:38 -07:00
Christopher Jeffrey
5b9a07ad23
paypro: first pass at clientside x509.
2014-07-21 14:54:03 -07:00
Christopher Jeffrey
6db7923c2b
fix: fix variable typo for paypro.
2014-07-21 14:54:03 -07:00
Christopher Jeffrey
d6c32b449f
paypro: fix rsa+sha256 vs rsa+sha1.
2014-07-21 14:54:03 -07:00
Christopher Jeffrey
3fbe0a9d80
test: fix x509 tests for PayPro.
2014-07-21 14:54:03 -07:00
Christopher Jeffrey
3c82119561
paypro: x509 nonsense.
2014-07-21 14:54:03 -07:00
Christopher Jeffrey
fc5e3a2811
paypro: first pass at implementing payment protocol for x509.
2014-07-21 14:54:03 -07:00
Linus Unnebäck
122575d307
cleanup after removal of soop
...
Removed some unnecessary parenthesise that hung around after the merge
of #417
2014-07-12 12:14:56 +02:00
Manuel Araoz
4d6e077670
remove soop exports
2014-07-10 16:08:42 -03:00
Manuel Araoz
ec0cb3587d
remove soop imports
2014-07-10 12:39:09 -03:00
Ryan X. Charles
62222b96da
add sign/verify with pki_type SIN
...
...which is much easier to implement than X.509 certificates.
2014-07-03 15:35:32 -07:00
Ryan X. Charles
1e2f7bb710
serialize payment request for signature
2014-07-03 15:35:32 -07:00
Ryan X. Charles
10f4337cae
add BIP70 protobuf features in new PayPro lib file
...
...and add to the "main" bundle, but not the "all" bundle, since it adds
hundreds of kilobytes to the bundle.
2014-07-02 11:39:21 -07:00
Ryan X. Charles
b5a6027575
ran js-beautify on all bitcore source
...
js-beautify -s 2 -r *.js
...did not run on bundles, only on source.
2014-06-23 10:57:02 -07:00
Ryan X. Charles
572bb6debf
add support for signing/verifying messages
...
This adds a new Message class with static methods for signing and verifying a
message the same way as bitcoind. (In a nutshell, messages a prepended with
"Bitcoin Signed Message:" before being hashed and signed).
There is one important piece missing ... verifying a signature with an address,
and not a public key. I have not yet implemented this because the cryptography
interface of bitcore does not allow me to derive the public key from a
signature. This will need to be added before verifying from an address is
possible.
2014-04-19 11:28:19 -03:00