Repository navigation
Conversation
Node's default is OAEP-SHA1 today; pinning it guards against a future default change silently breaking existing .enc files. A switch to SHA-256 is reserved for v3.0.0 when the on-disk format changes anyway.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Last release of the v2.x line. Cut criterion: data compatibility — every change preserves existing keypairs and
.encfiles.Fixed
keysExists()operator bug (||→&&): half-broken keypairs no longer reachencrypt/decrypt.set/get/delete: usage hints instead ofCannot read properties of undefined.mkdirSyncmade recursive in bothhandleInitandgenerateKeyPair.0o600on generation.process.env.PWD→process.cwd()across the codebase (Windows + non-shell invocation portability).Added
initnow appends.envto the project root.gitignorevia a newensureGitignoreEntryhelper..github/workflows/ci.yml: lint / build / test on every PR (Node 16, matching the v2.x baseline)..github/workflows/release.yml: on push tomain, readspackage.jsonversion, exits idempotently ifv<version>already exists, otherwise tags, creates a GitHub Release (notes extracted fromCHANGELOG.md), andnpm publishes. Third-partysoftprops/action-gh-releasepinned to commit SHA3bb12739c298aeb8a4eeaf626c5b8d85266b0e65(v2.6.2).Removed
.github/workflows/npm-publish.yml(replaced byrelease.yml).Changed
CHANGELOG.md: new## [2.3.0] - 2026-06-15entry.package.json/package-lock.json: version bumped to2.3.0(lockfile previously had a stale1.3.0, now correct).style: apply prettier formattingover the rest ofsrc/to keep the lint check green in the new CI workflow.