mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
181c1d637e
SSH key passphrase prompts previously checked "Remember this passphrase" by default; make it opt-in for safer defaults (#2024). Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
278 B
TypeScript
9 lines
278 B
TypeScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
|
|
import { DEFAULT_REMEMBER_PASSPHRASE } from "./PassphraseModal.tsx";
|
|
|
|
test("passphrase remember checkbox defaults to unchecked for security", () => {
|
|
assert.equal(DEFAULT_REMEMBER_PASSPHRASE, false);
|
|
});
|