ietf-openpgp
[Top] [All Lists]

DSS shared private key for MDCs (Re: shared private key for MDCs)

1999-04-21 14:34:14

And here is a shared private key for DSS MDCs.

I had to modify pgp50i to allow it to generate smaller keys, normally
it won't create DSS keys below 768 bits.  It doesn't appear to be able
to create DSS keys below 512 bits, and I doubt it would verify them or
make sigs with them either as DSS is defined to have key sizes from
512 to 1024 bits.  So the key is a 512 bit key, being the smallest
(for efficiency) valid key.

(I had to resort to emacs for removing the Elgamal encryption subkeys,
there appears no way to remove them separately, nor create DSS keys
without encryption subkeys with unix pgp 50i normally).

Type Bits KeyID      Created    Expires    Algorithm       Use
pub   512 0x0EE50720 1999-04-21 ---------- DSS             Sign only      

-----BEGIN PGP PUBLIC KEY BLOCK-----
Armor: arm.pl

mQDiBDceN7sRAgDhsbpuoOOFhXYe8WimMwrgH6+V2IecY6mrp8RgfE/grDI3yFc4
Y6TUJirYbsTA/l7vhRBO7yMkg76op/2mF+HDAKD/n1iSgq6e8M0g2++WPUR2UVsl
VwH/QRxvbzpoW4247IL8O4eqtgaDnekJg6G6hmZtcdWVX2NAfMdh3iqIK/AXdNkK
Yq/P3a47Zu99GGQwZ9Fc227NvgH/bxCPd6AIUFk7orBKwYbYNljjQ1ClVEalQVLv
LJTjGwIqSpwqzpvyiz1vFPpQXuhJ6iTX4FvbVqw+JeAbeBXMSbQaSW50ZWdyaXR5
IFZlcmlmaWNhdGlvbiBLZXk=
-----END PGP PUBLIC KEY BLOCK-----

Type Bits KeyID      Created    Expires    Algorithm       Use
sec   512 0x0EE50720 1999-04-21 ---------- DSS             Sign only      

-----BEGIN PGP SECRET KEY BLOCK-----
Armor: arm.pl

lQD7BDceN7sRAgDhsbpuoOOFhXYe8WimMwrgH6+V2IecY6mrp8RgfE/grDI3yFc4
Y6TUJirYbsTA/l7vhRBO7yMkg76op/2mF+HDAKD/n1iSgq6e8M0g2++WPUR2UVsl
VwH/QRxvbzpoW4247IL8O4eqtgaDnekJg6G6hmZtcdWVX2NAfMdh3iqIK/AXdNkK
Yq/P3a47Zu99GGQwZ9Fc227NvgH/bxCPd6AIUFk7orBKwYbYNljjQ1ClVEalQVLv
LJTjGwIqSpwqzpvyiz1vFPpQXuhJ6iTX4FvbVqw+JeAbeBXMSQAAn0+t0HGYxE9p
GYtIONiEqv3oJFp+Cvu0GkludGVncml0eSBWZXJpZmljYXRpb24gS2V5
-----END PGP SECRET KEY BLOCK-----

And here is a conventionally encrypted message which has been signed with
the above key.  the conventional encrypt password is "fred" (no quotes).

% echo hello world > test
% pgpe -csa -zfred test -u 0x0EE50720
% cat test.asc
-----BEGIN PGP MESSAGE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: /QiKruEMWv11r/vKHdrywdyCsSnuba7A

pGvRemGaX2Mvw1tf2bq7hv9DoBHwPM6nt3Btd93qGJlSR1mK9y3SGBbMuZJJYCCX
MxE69+VaDTMJ0+bLWVJRPTIT3J+aoKOS32XoejK5pMTx2BlvW5pWohMcQ2hL9AxA
+iPKXlakHKMCT3F7Og==
=PZOZ
-----END PGP MESSAGE-----
%

and here is what is displayed by unix pgp50i when you decrypt that:

% pgpv -zfred test.asc
Message is encrypted.
Opening file "test" type binary.
Good signature made 1999-04-21 21:24 GMT by key:
   512 bits, Key ID 0EE50720, Created 1999-04-21
   "Integrity Verification Key"

WARNING: The signing key is not trusted to belong to:
Integrity Verification Key
%

Adam

<Prev in Thread] Current Thread [Next in Thread>