add some TODOs
parent
508521664f
commit
6fde027a6c
|
@ -42,6 +42,12 @@ define([
|
|||
// 32 more for a signing key
|
||||
var edSeed = opt.edSeed = dispense(32);
|
||||
|
||||
// TODO
|
||||
// 32 more bytes to seed an additional signing key
|
||||
|
||||
// TODO
|
||||
// 32 more bytes for a symmetric key for block encryption
|
||||
|
||||
// derive a private key from the ed seed
|
||||
var signingKeypair = Nacl.sign.keyPair.fromSeed(new Uint8Array(edSeed));
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ define([
|
|||
|
||||
|
||||
|
||||
|
||||
// XXX update this to take into account blockHash values
|
||||
LocalStore.login = function (hash, name, cb) {
|
||||
if (!hash) { throw new Error('expected a user hash'); }
|
||||
if (!name) { throw new Error('expected a user name'); }
|
||||
|
|
Loading…
Reference in New Issue