mirror of
https://github.com/lajg-dev/Obsidian-Plugin-GPG-Inline-Encrypt.git
synced 2026-07-22 09:20:31 +00:00
- Sign key dropdown was empty when switching from openpgpjs to CLI because RefreshLibrary never repopulated it with native GPG keys; now calls RefreshListSign on library switch and resets the "sign" sentinel to "0". - Library dropdown did not persist the selection on change, causing pgpLibrary to revert to "openpgpjs" on reload and triggering the PassphraseModal unexpectedly during CLI decryption; fixed by calling saveSettings() in the dropdown onChange handler. - Sign key dropdown appeared twice when RefreshListSign was called concurrently (e.g. from display() and RefreshLibrary); fixed with a generation counter that discards stale async results before addDropdown() is called. - Encrypt with openpgpjs + signing enabled threw "signing key is not decrypted" when the passphrase field was left blank; EncryptText() now resolves the passphrase from cache/settings or prompts via PassphraseModal before calling gpgEncrypt(), and caches it after a successful sign+encrypt.
28 lines
859 B
JSON
28 lines
859 B
JSON
{
|
|
"name": "gpg-encrypt",
|
|
"version": "1.2.0",
|
|
"description": "Plugin to encrypt partial text or complete notes using GPG technology, it is compatible with security keys such as YubiKey or traditional GPG encryption methods",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.2",
|
|
"@typescript-eslint/parser": "^8.59.2",
|
|
"builtin-modules": "^5.1.0",
|
|
"esbuild": "^0.28.0",
|
|
"obsidian": "^1.12.3",
|
|
"tslib": "2.8.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/language": "^6.12.3",
|
|
"openpgp": "^6.3.0"
|
|
}
|
|
}
|