Fabian on Nostr: Ok I just checked all the code paths where the private key is set and its possible to ...
Ok I just checked all the code paths where the private key is set and its possible to turn a read-only account into a normal account by entering the private key, but it doesn’t check if the private key belongs to that read-only account, oops 😬
So what probably happened is you had a read-only with your main account and then at some point turned it to a normal account but with a different nsec.
If you have a Mac with iCloud keychain sync you could manually fix this in Keychain Access, on the phone its not possible I think, I’ll need to add some tooling in Nostur to recover from this.
Published at
2024-10-26 21:49:06Event JSON
{
"id": "8bfa1f9dcd7a9988c10cb586129ee4460d877a6388ec998633185b7153a27d66",
"pubkey": "9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e",
"created_at": 1729979346,
"kind": 1,
"tags": [
[
"e",
"799140903b604bc9925069afea1692bbe45213ccacdc8de7ac7a1b0dc77912b4",
"",
"root"
],
[
"e",
"f904ee27bdca75b8f5fba76316d89f6a827f4eeb8cbed7b7a9d905c4facc7c1a",
"",
"reply"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "Ok I just checked all the code paths where the private key is set and its possible to turn a read-only account into a normal account by entering the private key, but it doesn’t check if the private key belongs to that read-only account, oops 😬\n\nSo what probably happened is you had a read-only with your main account and then at some point turned it to a normal account but with a different nsec.\n\nIf you have a Mac with iCloud keychain sync you could manually fix this in Keychain Access, on the phone its not possible I think, I’ll need to add some tooling in Nostur to recover from this.",
"sig": "0ad6c6b299a72e554320e1a724cf75c9a3f233dcdd34ad051ce547c2c01773bf27f50879f2132d37b52ef07b5a06314823deb0c8e1cfd12bd526a1f6109f548d"
}