JeffG on Nostr: Yup, it's true. Bunker has to be able to decrypt the key in order to sign with it. ...
Yup, it's true. Bunker has to be able to decrypt the key in order to sign with it. The user provides a password that is used to encrypt at rest but when the key is needed for signing the Bunker has to decrypt it (with the password you provide). The key is used and then re-encrypted.
This is why it's important that the code for something like Nsecbunker is open and (ideally) it would be verifiable that a bunker service is running the exact same code so you know they haven't done anything fishy.
Published at
2024-02-07 17:49:58Event JSON
{
"id": "b8691704f94da2880757b53b730f88adaa94e6d2fbfbdcd298bd328c6f8e422a",
"pubkey": "1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"created_at": 1707328198,
"kind": 1,
"tags": [
[
"e",
"6f8527c575be113590cee557f1bfe325160a63cffd306e9200ad3a982fe0f389",
"",
"root"
],
[
"e",
"71c24738b0ccd51780fe431d2826c78fad40f643b7acb6ff014390611e2c4b50",
"",
"reply"
],
[
"p",
"8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"
],
[
"p",
"1bc70a0148b3f316da33fe3c89f23e3e71ac4ff998027ec712b905cd24f6a411"
]
],
"content": "Yup, it's true. Bunker has to be able to decrypt the key in order to sign with it. The user provides a password that is used to encrypt at rest but when the key is needed for signing the Bunker has to decrypt it (with the password you provide). The key is used and then re-encrypted.\n\nThis is why it's important that the code for something like Nsecbunker is open and (ideally) it would be verifiable that a bunker service is running the exact same code so you know they haven't done anything fishy.",
"sig": "c71609567171d7144a5708543c1efaffca872cdaffafd537b425cc1c3f44cfd7e2a28999942c8394a5415d1086fbed756c435f933c37ac41190efc6e4689632e"
}