Skip to content

crypt4gh-keygen#54

Merged
silverdaz merged 4 commits into
masterfrom
keygen
Apr 16, 2026
Merged

crypt4gh-keygen#54
silverdaz merged 4 commits into
masterfrom
keygen

Conversation

@silverdaz
Copy link
Copy Markdown
Collaborator

We refactor the crypt4gh-keygen code, and fix an issue with secret permissions when relocking.
The file was read-only, and couldn't be re-written.

Moreover, we create parent directories (mode 700) in case they are missing.
We first ask for confirmation.

If we don't get confirmations, we just bail out (even if we asked 2 passphrases)

Finally, we fix the permissions and don't manipulate the umask.

@silverdaz silverdaz self-assigned this Apr 16, 2026
@silverdaz
Copy link
Copy Markdown
Collaborator Author

Fixes #49

@silverdaz silverdaz merged commit ec5c807 into master Apr 16, 2026
24 checks passed
@silverdaz silverdaz deleted the keygen branch April 16, 2026 10:43
@silverdaz silverdaz changed the title cryptgh-keygen crypt4gh-keygen Apr 27, 2026
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