11 Commits

Author SHA1 Message Date
Alan Shaw
8dfaab1af0 fix: validate createKey params properly (#26)
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2018-09-18 12:48:58 +01:00
Richard Schneider
5560669fc9 CMS - PKCS #7 (#19)
CMS - PKCS #7
2018-01-28 22:34:55 -08:00
Richard Schneider
89a451c147 feat: generate unique options for a key chain (#20) 2017-12-28 08:48:32 +00:00
Richard Schneider
c1627a99e7 feat: use libp2p-crypto (#18)
* test: openssl interop is now the responsibility of libp2p-crypto

* feat: use libp2p-crypto, not node-forge, for key management

* fix: use libp2p-crypto.pbkdf, not node-forge

* fix: do not ship CMS

This removes all depencies on node-forge

* test: update dependencies

* test: remove dead code
2017-12-20 13:43:54 +00:00
Richard Schneider
e78b2483ae test: key name comparision 2017-12-17 12:43:54 +13:00
Richard Schneider
1b2664a902 refactor: keep the key info in the store 2017-12-11 14:26:48 +13:00
Richard Schneider
f71d3a6521 fix: maps an IPFS hash name to its forge equivalent
Fixes #12
2017-12-10 17:19:20 +13:00
Richard Schneider
f49e753801 fix: return info on removed key #10 2017-12-08 14:45:02 +13:00
Richard Schneider
98ba68ac82 test: needs more time to generate RSA key 2017-12-07 00:24:39 +13:00
Richard Schneider
7c44c91788 fix: more linting 2017-12-07 00:16:38 +13:00
Richard Schneider
1a96ae8cb7 feat: move bits from https://github.com/richardschneider/ipfs-encryption 2017-12-06 22:56:09 +13:00