On Fri, 18 Mar 2005 15:23:52 -0800 (PST), D Borkovic said: > Sometimes I want to encrypt a message when my memory stick is > not available. The public keyring is available. However, Gnupg > will NOT encrypt a message when a secret keyring is not available.
No problem here: $ ls -la total 64 dr-xr-xr-x 2 wk wk 4096 Mar 30 17:55 . drwxr-xr-x 9 wk wk 4096 Mar 30 17:49 .. -rw------- 1 wk wk 47077 Mar 30 17:50 pubring.gpg -rw------- 1 wk wk 600 Mar 30 17:55 random_seed -rw------- 1 wk wk 1200 Mar 30 17:55 trustdb.gpg $ gpg --homedir . -eavr [EMAIL PROTECTED] --always-trust --lock-never </etc/motd gpg: WARNING: unsafe permissions on homedir `.' gpg: error creating keyring `./secring.gpg': Permission denied gpg: keyblock resource `./secring.gpg': file open error gpg: using subkey B604F148 instead of primary key 5B0358A2 gpg: No trust check due to `--trust-model always' option gpg: reading from `[stdin]' gpg: writing to stdout gpg: RSA/TWOFISH encrypted for: "B604F148 Werner Koch <[EMAIL PROTECTED]>" -----BEGIN PGP MESSAGE----- Version: GnuPG v1.4.1 (GNU/Linux) hQEMA3KZxii2BPFIAQf/ceX/CmTvapNFlz++KWFi/3mn1KnboOQVYrxb+c6nDO1Z fCbgPq8oyzEpBGwgyMiDB3EXQpGQrwd/kcdp8XP06+78KdVR27auYApW3Ay21X8B TpRN0PqqAV621o6WoLLa5RMOu92WNV/EbsK7FzRyL+ZQMTbBL7jtF9UKGGeZH9Zn xfniI82mGQ21ssqwV6GHU+rTHmhEvoqIZlu6409+ZlJTQnnR5wOYbR/qedpdWl+I Icx+WT8kqEyUacUIfcZ2yRROXRCt2cdbk0DbsHTIRSUbQkI0YpWHUfBcvjEvXQFj /nKVedvL0bM37w7cdZyVENb2kmWGy703aY1BJ5GxVtLAfwHtmy80WGMOsmLL9Vc3 pzIS5fc0luz7OHtic/95YCCa9hI007GBOTkprcvj/SmjLn+5I1dRjWMWP1Tp+HiC Oj6TvtNz15NjQlJdwgOr4Wwzkjvfii/4dtNZMBa2hjShaAJjBiUfkTBzuH7JuH0o vUEWz178+6dlYEjNngxlwGm8H0PnOV0JCTRc7FBtebmJaQU8o63syGqKSBzl8KBO p4aF5iwHJuKQ/uF7dO1UraS0C+JVfByXfBfqW2mQChpMOE95GmjPpXlY6r697vIM wsVxAntCc3LigvksIyp624dYHRyY/1Guzj56V0EY2Vw18pCi1yK0/FjVWNvHnyl2 p6mw5emi1IQLGMF5eBAzdB66Gp4BAPb9oXBtkkMr0fmDsdJ3BODVZgB1qwLn4p7a gj16fJkBMr1ckfuogiI6A1g= =J+gg -----END PGP MESSAGE----- Make sure that you did not requested signing and encryption. A secret key is required for signing. Shalom-Salam, Werner _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users