@ai-ecoverse/wasix-gnupg
v2.4.9-2
Published
GnuPG 2.4 for slicc WASIX: gpg, gpgv, gpg-agent, gpgconf, gpg-connect-agent
Readme
@ai-ecoverse/wasix-gnupg
GnuPG 2.4 for the slicc wasm realm (WASIX): gpg (also gpg2), gpgv,
gpg-agent, gpgconf and gpg-connect-agent. libgpg-error, libgcrypt,
libassuan, libksba and npth are linked in statically.
gpg --batch --passphrase '' --quick-gen-key 'Me <[email protected]>' default default never
echo hi | gpg --clearsign | gpg --verify
git config --global gpg.program gpg && git commit -S -m signed- Keyring:
~/.gnupg(or$GNUPGHOME) on the VFS. - gpg-agent starts on first use, detached, and later commands reach it
through
$GNUPGHOME/S.gpg-agenton the realm's loopback namespace. It caches passphrases as usual (default-cache-ttl). - Passphrases: there is no pinentry program.
gpgdefaults to--pinentry-mode loopbackand asks on the terminal (/dev/tty), also when git runs it with its stdio piped. Without a terminal (the agent'sbashtool), use unprotected keys or--batch --passphrase-fd.
Not included
gpgsm (S/MIME), scdaemon (smartcards), dirmngr (keyservers, CRLs),
keyboxd, gpgtar, the WKS tools, TOFU (needs SQLite), compression
(--disable-zip: messages from other GnuPGs that are compressed do not
decrypt yet).
Known limitations
- WASIX has no sessions or process groups (
setsid/setpgid). A detached gpg-agent stays in the process group of the command that started it, so a ^C to that same foreground job also reaches the agent (it shuts down; the next gpg starts a new one). gpg-agent --daemon PROGRAM(run a program under the agent) needs fork and is not supported.
How it is built
packages/wasix-gnupg/build.sh in homescoop; the patches and upstream
tarball checksums ship in patches/ and SOURCES.md.
- Spawns are
posix_spawn(no fork);gpg-agent --daemondetaches by starting itself again. - Built against wasix-sysroot 2025.9.30-15 or later, whose libc reports files as the realm user's (GnuPG refuses a homedir it does not own).
License: GPL-3.0-or-later (GnuPG); the libraries' licenses are in
licenses/.
