Skip to content

fix: post refuses to sign as the wrong identity - #47

Merged
TheCryptoDonkey merged 1 commit into
mainfrom
fix/post-identity-guard
Aug 7, 2026
Merged

fix: post refuses to sign as the wrong identity#47
TheCryptoDonkey merged 1 commit into
mainfrom
fix/post-identity-guard

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Member

publish and unpublish have taken --as since 0.16.2. post did not, so the identity a note claims was whichever bunker happened to be answering.

The setup for getting it wrong is completely ordinary: publish a hole under a project key, leave the bunker running, write a note, and the note goes out under the project rather than under you. Same shape as the 2026-08-06 mixup, pointed the other way.

--as costs nothing, since get_public_key is not a signing operation.

The signer that answers is whichever bunker happens to be running, and a note
is as much an identity claim as a document is. publish and unpublish have
refused a mismatch since 0.16.2; post had no guard at all.

The failure it prevents is a quiet one and the setup for it is ordinary:
publish a hole under a project key, leave the bunker up, write a note, and the
note goes out under the project rather than under you. That is the 2026-08-06
mistake pointed the other way.

--as costs nothing, because get_public_key is not a signing operation.
@TheCryptoDonkey
TheCryptoDonkey merged commit b0a7d3a into main Aug 7, 2026
3 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the fix/post-identity-guard branch August 7, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant