git ssb

1+

Dominic / ssb-keys



Commit 45ab8e8d232a5a09d2e848690e78fcfb46622876

Merge pull request #4 from dominictarr/master

 fix bug with .. in tags for signatures
Paul Frazee committed on 11/22/2014, 4:03:10 PM
Parent: 6c030d1ba292d2341fe3d4497374c3536d3d0566
Parent: 7f1bf9e79916feee154feb29bed1fadca5c04e4c

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