git ssb

1+

Dominic / ssb-keys



Commit f39581dcdc2e1fb69fc7d8390596cf5a47d9f1bd

test that id is pubkey on ed25519 keys

Dominic Tarr committed on 6/29/2015, 4:52:33 PM
Parent: 8c7bb0b48da95a39d1c1edeccd2ccba7792f4725

Files changed

test/index.jschanged
test/index.jsView
@@ -143,4 +143,13 @@
143143
144144 t.end()
145145
146146 })
147+
148+tape('ed25519 id === pubkey', function (t) {
149+
150+ var keys = ssbkeys.generate('ed25519')
151+ t.equal(keys.id, keys.public)
152+
153+ t.end()
154+
155+})

Built with git-ssb-web