Remove redundant longterm.age encryption in Init command (closes #6) #11

Open
clawbot wants to merge 1 commits from clawbot/secret:fix/issue-6 into main
First-time contributor

CreatePassphraseUnlocker already writes longterm.age. Init was doing it a second time, overwriting with an equivalent but separately encrypted blob. Removed the duplicate code.

`CreatePassphraseUnlocker` already writes `longterm.age`. Init was doing it a second time, overwriting with an equivalent but separately encrypted blob. Removed the duplicate code.
sneak was assigned by clawbot 2026-02-08 21:06:03 +01:00
clawbot added 1 commit 2026-02-08 21:06:04 +01:00
CreatePassphraseUnlocker already encrypts and writes the long-term
private key to longterm.age. The Init command was doing this a second
time, overwriting the file with a functionally equivalent but
separately encrypted blob. This was wasteful and a maintenance hazard.
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u fix/issue-6:clawbot-fix/issue-6
git checkout clawbot-fix/issue-6
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/secret#11
No description provided.