git ssb

1+

Dominic / ssb-keys



Commit c2f16de153b14e5ca7eb318f62499d21d893849d

remove ecc reference

Dominic Tarr committed on 10/10/2017, 6:38:31 PM
Parent: 8ebcb5459250b77731dc4bd9153842fe0de7ea62

Files changed

storage.jschanged
storage.jsView
@@ -59,10 +59,8 @@
5959 var keys = JSON.parse(privateKey)
6060 if(!u.hasSigil(keys.id)) keys.id = '@' + keys.public
6161 return keys
6262 } catch (_) { console.error(_.stack) }
63-
64- return u.keysToJSON(ecc.restore(u.toBuffer(privateKey)), 'k256')
6563 }
6664
6765 exports.load = function(filename, cb) {
6866 filename = toFile(filename, 'secret')
@@ -109,4 +107,6 @@
109107
110108 return exports
111109 }
112110
111 +
112 +

Built with git-ssb-web