PGP Tools

Encrypt, decrypt, sign and verify OpenPGP messages, plus age encryption. Uses Sequoia-PGP in WASM, keys are encrypted at rest with a password or passkey, and it needs no sensitive permissions, so it can't read the sites you visit. Download: Chrome - Edge

Open Source

PGP Tools Source Code

Author

Am-I-Being-Pwned

Description

The best PGP web extension. UX and Security first.

#encryption#passkeys#pgp#ux

Homepage

https://chromewebstore.google.com/detail/pgp-tools-encrypt-decrypt/pgpcdgggohpbombhkffjoiiafdlfcpgp

Repository

  • LicenseMIT
  • Created31 Mar 26
  • Primary languageTypeScript
  • Size14,808 KB
  • Stars12
  • ForksNone
  • Watchers12

Language Usage

Language Usage

Project Health

  • Last commit4 days ago
  • Open issues1
  • Latest releasev2.0.1

Top Contributors

Recent Commits

  • James Arnott(03 Nov 26)

    Merge pull request #13 from Am-I-Being-Pwned/refactor/prop-drilling refactor: cut prop drilling and clear React smells

  • James Arnott(03 Nov 26)

    chore: readme badges

  • James Arnott(03 Nov 26)

    test: make three CI-timing-sensitive tests robust - identity-binding: a review choice is clicked until it reads checked. On a loaded runner the click landed while the Review was still sliding in (trace: outside the viewport, then not stable) and missed. - binding: the 1000-contact clash check allows 1 s, not 500 ms; CI measured 550-600 ms and a quadratic regression would take seconds. - history: the 700-append budget test gets 20 s instead of the 5 s default.

  • James Arnott(03 Nov 26)

    refactor(workspace): pull result, clear and signer-recheck logic out of WorkspaceView useResultActions (copy, CRX save, Reply), useClearWithUndo (undoable clear, Cmd+Z, refocus) and useSignerRecheck (look up an unknown signer, re-verify once it lands) take the self-contained pieces; the palette command map stays in the view. 663 -> 525 lines.

  • James Arnott(02 Nov 26)

    refactor(keys): split KeyDetailsPage The revocation, clash and verify sections move to KeyDetailsSections, and a contact's per-key include/exclude state and its optimistic save become useRecipientToggles. The page drops from 716 to 391 lines.

  • James Arnott(02 Nov 26)

    refactor(keys): one resolution per lookup order RecipientPicker and recipientNames re-implemented own-key-first resolution without the usable-contact preference; both now call resolveSelectedRecipients, so the picker and the history names show the record the encrypt uses. The contact-first holder lookup shared by KeyDetailsPage and KeyDetailsRoute is holderDetailsTarget.

  • James Arnott(02 Nov 26)

    refactor(keys): derive selection mode from the selected set Every path into selection mode adds a card and every way out empties the set, so the flag and the effect that kept it in step are gone.

  • James Arnott(02 Nov 26)

    refactor(panel): drop the unread intake nonce Each drop already sets a fresh intake object, which is what re-applies the same files; the module-level counter was never read.

  • James Arnott(02 Nov 26)

    refactor(hooks): import hooks from the ~/hooks barrel Callers outside src/hooks import from ~/hooks; files inside keep direct sibling imports so the barrel cannot form a cycle. Hooks are panel-only, so the build output is byte-identical (same chunks, same hashes) and the network and invariant audits are unchanged.

  • James Arnott(02 Nov 26)

    fix(workspace): find bar no longer re-renders in a loop WorkspaceInput passes getText inline, so keying the match search on the getter's identity re-searched every render; the fresh matches went back through onHighlight into the owner's state and rendered again, for as long as the bar was open. The search is keyed on textVersion alone, and the open/re-anchor effects are effect events. Regression test included.

  • James Arnott(02 Nov 26)

    refactor(nav): useNavIntent takes one-shot intents The four effect-and-consume blocks (keysRoute, presets, encryptToKeyId, highlightKeyIds) become one hook. The intent still waits in nav state until its view mounts; the handler is an effect event, so no deps juggling and one fewer exhaustive-deps disable.

  • James Arnott(02 Nov 26)

    refactor(keys): one StoredKey type and isContact guard Replaces three local AnyKey aliases and the scattered `"armoredPublicKey" in key` checks. recipient-engine keeps its own check: its tests drive it with bare KindDiscriminated records.

  • James Arnott(02 Nov 26)

    refactor(workspace): focus the message box through its ref The workspace's focus helpers and type-to-focus use ws.inputElRef rather than document.getElementById; VaultGate, outside the workspace, keeps the id lookup through a shared MESSAGE_INPUT_ID.

  • James Arnott(02 Nov 26)

    refactor(keys): ContactsList and KeyCard read a KeysContext KeysView provides its subpage stack, selection and import pulse once; ContactsList takes no props (was 14) and KeyCard only its model (was 7). ContactCard stays prop-driven: SignerCard and the reader tab share it.

  • James Arnott(02 Nov 26)

    refactor(workspace): input and results read ws and v WorkspaceInput and WorkspaceResults take the workspace and its derived flags, as WorkspaceSections already does, instead of ~30 props exploded from them. DetectedKeyBanner navigates itself, so the import/reveal callbacks no longer pass through both.

  • James Arnott(02 Nov 26)

    refactor(ui): key details and detected-key banner read the stores KeyDetailsPage and DetectedKeyBanner read contacts and the keyring themselves instead of having them forwarded through KeyDetailsButton, KeySelector, RecipientPicker, WorkspaceInput and WorkspaceResults.

  • James Arnott(02 Nov 26)

    Merge pull request #12 from Am-I-Being-Pwned/refactor/react-state chore: refactor + handle state better

  • James Arnott(02 Nov 26)

    test(e2e): wait for the password page to unmount before reopening

  • James Arnott(02 Nov 26)

    ci: cache WASM + ESLint through turbo, save caches on failure, parallel e2e - build:wasm is a cached turbo task that lint/typecheck/test/build/dev depend on; drops the uncached CI wasm-pack step and the duplicate build inside `build`. - ESLint cache flags live in each lint script (pnpm appended them to i18n-check before); content strategy so restored caches survive CI checkouts. lint:fix is its own task. - Turbo cache restore/save split so a failing run still saves; rust-cache cache-on-failure. - One turbo invocation for lint/typecheck/test/test:rust/build. - Playwright runs files across 4 workers on CI (each test already gets its own profile).

  • James Arnott(02 Nov 26)

    chore(readme): refresh measured badges

  • James Arnott(02 Nov 26)

    refactor(pgp): src/ for source, tests/ for tests - components, entrypoints, hooks, lib, global.d.ts -> src/ (wxt srcDir) - unit tests + fakes -> tests/unit/, mirroring src/; imports of source go through ~/ - e2e -> tests/e2e, e2e-capture -> tests/capture - configs, audits, threat-model verifiedBy paths and docs updated

  • James Arnott(02 Nov 26)

    refactor(wasm): age and crx tests in their own files The inline #[cfg(test)] modules move to age_tests.rs / crx_tests.rs via #[path], like tests.rs; age.rs 1863 -> 904, crx.rs 1213 -> 624. Same 230 tests.

  • James Arnott(02 Nov 26)

    refactor(wasm): split lib.rs into modules Pure move along the crate's seams: certs, sanitize, aead, encryption, sign, limits, decrypt, key_store, protect, s2k, sessions. lib.rs keeps the crate docs, zeroize-on-free allocator, policies, StrErr and the mod / pub use lines. Every item is moved verbatim; the only code changes are pub(crate) on items now reached across modules and explicit per-module imports. The wasm export list (pkg/gpg_wasm.d.ts) is unchanged. Paths only: the Rust-source readers in aad-prefixes.test.ts and lookalike.test.ts, the SECURITY.md greps and file references, and the comments that named lib.rs. audit-invariants.mjs already globs src/*.rs and still finds the #[cfg(test)] mods in lib.rs, so it needs no change.

  • James Arnott(02 Nov 26)

    chore(wasm): trim comments to decisions and invariants Comment-only: stripping comments from base and new versions of every changed .rs file yields identical token streams. Kept invariants, security rationale, T-* ids, SECURITY.md pointers, SAFETY comments and @secret-handling blocks; cut history narration and prose restating code.

  • James Arnott(02 Nov 26)

    refactor(workspace): read the derived view flags off v

  • James Arnott(02 Nov 26)

    refactor(ui): one HoverHint; no 30-field destructure in the export page - ShortcutHint and TranslationPanel's HoverLabel were the same popover hint; HoverHint takes an optional label, shortcut and alignment. - ExportKeysBody reads the flow object directly instead of destructuring all 30 of its fields again.

  • James Arnott(02 Nov 26)

    refactor(import): key lookups live in lib, not the import page runKeyLookup sends the classified GitHub/keyserver request to the worker, parses what comes back, and returns keys, a notice or an error; ImportKeyPage only applies the outcome. Same toasts, ids and order.

  • James Arnott(02 Nov 26)

    refactor(import): split prepare.ts along its seams stored-keys (the held-key index), classify-pgp, classify-ssh (incl. the CRX PEM and SSH group rules) and conflicts (identity/secret clashes) move out; prepare.ts keeps prepareImport, classifyImport and merging, and re-exports its public API so importers are unchanged. 915 -> 350 lines; no new module imports back from prepare.

  • James Arnott(02 Nov 26)

    refactor(workspace): render sections out of WorkspaceView SignKeyPickers, EncryptOptions, PasswordPrompt, RunNotices, MainActions and ResetButton move to WorkspaceSections.tsx, reading the store hooks themselves and the derived view flags as one object; the encrypt preference toggles become useEncryptToggles, shared with the palette. WorkspaceView 1016 -> 728 lines; no file trips the max-lines rule now.

  • James Arnott(02 Nov 26)

    docs(security): name the contact backfill among the contacts writers

PGP Tools Security

Security Advisories (2)

PGP Tools Reviews

More PGP Managers

About the Data: PGP Tools

Change History

Edit PGP Tools Data

You can edit PGP Tools's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external sources, a list of these can be found data documentation.

Origin Data

Modify Data

API

You can access PGP Tools's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/v1/services/pgp-tools

The REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.

Share PGP Tools

Help your friends compare PGP Managers, and pick privacy-respecting software and services.
Share PGP Tools and Awesome Privacy with your network!