updates
This commit is contained in:
parent
74cd9715ac
commit
28f4788aec
13 changed files with 3543 additions and 7 deletions
31
SECURITY-MODEL.md
Normal file
31
SECURITY-MODEL.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Security Model
|
||||
|
||||
The premise of nsecBunker is that you can store Nostr private keys (nsecs), use them remotely
|
||||
under certain policies, but these keys can never be exfiltrated from nsecBunker.
|
||||
|
||||
All communication with nsecBunker happens through encrypted, ephemeral nostr events.
|
||||
|
||||
## Keys
|
||||
Within nsecBunker there are two distinct sets of keys:
|
||||
### User keys
|
||||
The keys that users want to sign with (e.g. your personal or company's key).
|
||||
|
||||
These keys are stored encrypted with a passphrase; the same way Lightning Network's LND
|
||||
stores keys locally: every time you start nsecBunker, you must enter the passphrase to decrypt it.
|
||||
Without this passphrase, keys cannot be used.
|
||||
|
||||
### nsecBunker's key
|
||||
nsecBunker generates it's own private key, which is used solely to communicate
|
||||
with the nsecBunker administration UI. If these keys are compromised, no key material is at risk.
|
||||
|
||||
To interact with nsecBunker's administration UI, the administrator(s)' keys must be whitelisted
|
||||
within nsecBunker. All communication between the administrator and the nsecBunker is end-to-end
|
||||
encrypted with these two set of keys.
|
||||
|
||||
Non-whitelisted keys simply cannot talk to nsecBunker's Administration UI, which is why even if
|
||||
the nsecBunker connection string that is created when you setup your nsecBunker is leaked, nothing
|
||||
happens.
|
||||
|
||||
## Nostr Connect
|
||||
nsecBunker listens on certain relays (specified in the config file) for keys that are attempting to
|
||||
sign with the
|
||||
Loading…
Add table
Add a link
Reference in a new issue