git ssb

1+

Dominic / ssb-keys



Commit f49ed9d612208d9cfa2e456cbbdc329ddf133cdf

was getting some objects with two dots <hash>..blake2s.k256, which is wrong

Dominic Tarr committed on 11/22/2014, 2:44:53 PM
Parent: b56ecdf6d897a3d845deba30a543cfe8336ea4b4

Files changed

index.jschanged
index.jsView
@@ -89,9 +89,9 @@
8989 return keysToBase64(ecc.restore(k256, privateKey))
9090 }
9191
9292 function tag (key, tag) {
93- return key.toString('base64')+'.' + tag
93+ return key.toString('base64')+'.' + tag.replace(/^\./, '')
9494 }
9595
9696 exports.load = function(namefile, cb) {
9797 fs.readFile(namefile, 'ascii', function(err, privateKeyStr) {

Built with git-ssb-web