How to test gpgsm
Bernhard Reiter
bernhard@intevation.de
Fri Dec 14 17:08:01 2001
--E/DnYTRukya0zdZ1
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Dec 14, 2001 at 02:58:25PM +0100, Werner Koch wrote:
> Some short notes on how to test the current CVS version of GpgSM.=20
Testing version checked out a couple of minutes ago:
> $ cp ../tests/567064FE6D14A17B2D811ABB407728BC558AA455 ~/.gnupg-test/pri=
vate-keys-v1.d/
> $ ./gpgsm --import ../tests/cert_g10code_test1.pem
done, no errors.
> $ ./gpgsm --list-keys
> You should get this output:
>=20
> /home/wk/.gnupg-test/pubcerts.kbx
> ---------------------------------
> crt:?:1024:82::2001-11-11:2001-11-12:::::escESC:
> fpr:::::::::3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E:
> grp:::::::::567064FE6D14A17B2D811ABB407728BC558AA455:
> uid:?::::::::CN=3Dtest cert 1,OU=3DAegypten Project,O=3Dg10 Code GmbH,L=
=3DD=C3=BCsseldorf,C=3DDE::
>=20
I get something different:
/powerhome/bernhard/.gnupg-test/pubcerts.kbx
--------------------------------------------
crt:?:1024:82::1007372198:1038908198::00::CN=3Dtest cert 1,OU=3DAegypten Pr=
oject,O=3Dg10 Code GmbH,L=3DD=C3=BCsseldorf,C=3DDE:escESC:
fpr:::::::::3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E:
uid:?::::::::CN=3Dtest cert 1,OU=3DAegypten Project,O=3Dg10 Code GmbH,L=3DD=
=C3=BCsseldorf,C=3DDE::
> $ echo foobar | ./gpgsm -ea
fails:
echo foobee | ./gpgsm -ea
Warning: using insecure memory!
gpgsm: DBG: failed to find default certificate: rc=3D-1
gpgsm: no default recipient found
do I need to have a default key defined in the options?=20
gpgsm: NOTE: no default option file `/powerhome/bernhard/.gnupg-test/gpgsm.=
conf'
--E/DnYTRukya0zdZ1
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iEYEARECAAYFAjwaIzsACgkQh9ag3dpKERZ62wCfdxprHbFilKS7zX9Pz1AtG468
aKoAoKW53l7VbMEQtP8mznR72SKlVuzo
=aPhD
-----END PGP SIGNATURE-----
--E/DnYTRukya0zdZ1--