Repository navigation
Releases
Releases · PandaBoby/dsh-credential-hub
v0.2.4 — SSH key line breaks survive the save
Fixed
- Saving a pasted SSH private key keeps its line breaks. The Settings secret field is now a
textarea: an<input>collapses a pasted key's line breaks into spaces, and the credential
store then serialized that one-line value as a folded YAML scalar. A multi-line value is also
normalized to LF with exactly one trailing newline before it is written, so the store renders
it as a|block scalar.
Note: this release fixes the save path. A key saved before it has to be pasted once more:
its bytes are intact inside the single line, but the line breaks are gone.
v0.2.3 — Visual npm package page
Documentation
- Publish the hero banner and real Settings screenshots from absolute GitHub raw URLs so the
npm package page can render them as well as the GitHub README.
v0.2.2 — Polished npm package
Packaging
- Publish the package with the current bilingual README, npm install command, and npm badge.
- Improve the npm description and keywords, and declare
publishConfig.access = public.
v0.2.1 — Portable tests and CI fix
Fixed
npm testnow enumeratestest/*.test.mjsexplicitly instead of passing the
test/directory tonode --test, which Node 20/22 treated as a module path.
This restores the GitHub Actions matrix (Node 20/22/24).
v0.2.0 — Encrypted sync and Settings
Note: this release predates the portable test-runner fix.
npm testfails on Node 20/22; usev0.2.1for a CI-green checkout. Runtime code is unaffected.
Added
- Settings transfer tab: export an inventory plus configured credential values as an
AES-256-GCM encrypted bundle; import it on another machine with merge or replace mode. - Write-only credential value field in the SSH and PAT record editors.
- Advanced PAT header-format section (Bearer, token, Basic, custom header) with Bearer as
the default; the main form no longer asks every user to choose an auth scheme. - Syntax gate (
npm run check) and expanded unit-test script.
Fixed
allowLoopbackHttp=falsenow actually rejects loopback plain HTTP instead of being
ignored.- Provider errors no longer flow into model-visible tool errors or browser state; they
are reduced to a generic credential-resolution failure. - A failed post-write inventory load removes a newly created file when no previous file
existed, rather than leaving a bad inventory behind. - Transfer errors are split by card; export offers a retry download; replace import has a
separate confirm row; file reads cannot resurrect an older selection.
Changed
- Reduced settings-page helper text and removed the inventory path/permissions footer.
- Passphrases are validated at eight characters minimum and are never stored or echoed.
Security
- Host-side scrypt + AES-256-GCM encryption/decryption with authenticated envelopes;
wrong passphrases and tampered bundles fail without partial plaintext. - Imported bundles are validated before writing; smuggled secret fields and unsupported
KDF/format versions are rejected. - Export responses, import responses, and inventory files are asserted not to contain
plaintext credential values.