Skip to content

Prevent Init from silently disabling encryption#146

Merged
bincyber merged 1 commit into
masterfrom
fix/init-nil
May 16, 2026
Merged

Prevent Init from silently disabling encryption#146
bincyber merged 1 commit into
masterfrom
fix/init-nil

Conversation

@bincyber
Copy link
Copy Markdown
Owner

This PR contains a minor breaking change.

Currently, if Init() is called with a nil Crypter, encryption will be silently disabled for the lifetime of the process as the sync.Once is consumed. Init() must be changed to reject being called with nil.

@bincyber bincyber merged commit 4dd17dd into master May 16, 2026
4 of 5 checks passed
@bincyber bincyber deleted the fix/init-nil branch May 16, 2026 19:51
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