ssbc / ssb-config

standard configuration for ssb
MIT License
23 stars 18 forks source link

undocumented caps.shs and caps.sign #50

Closed ahdinosaur closed 4 years ago

ahdinosaur commented 5 years ago

best explanation i've found is from @clehner: %9yC1XNJJtNiJVCMGchCO7iRKB6xMUrDaCfLUeFPTk3o=.sha256

dominictarr commented 5 years ago

example config:

generate random values in node repl

randomValue = require('crypto').randomBytes(32).toString('base64')

then copy them into ~/.ssb/config

"caps": {
  "sign": randomValue1,
  "shs": randomValue2
}

/cc @frankiebee

ygrek commented 5 years ago

I am confused, which one is network key? And what is the second one? There seems to be only one secret key in the protocol-guide..

ygrek commented 5 years ago

hm, looking at https://github.com/ssbc/ssb-config/blob/master/defaults.js#L53 sign is null and shs is the network key

staltz commented 5 years ago

See also https://github.com/ssbc/ssb-caps

stale[bot] commented 5 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?