Sorry if this is a repeat using YARN's "Repost from folder"
doesn't look like its working for this message from my end.
Several people have asked on the list how to get PGP5 to
work with YARN.
The general reply has been to keep using RSA keys. After
digging into the source code there are valid security
reasons for moving to the DH/DSS Keys and Sigs.
Here is a excript:
"The new code also adds some new encryption algorthms. Probably the most
exciting is the introduction of a new public key algorithm that will
serve as an alternative to the RSA algorithm. The Diffie-Hellman and
Hellman-Merkle patents expire this year, opening the door to royalty-free
use of public key algorithms. Everyone will benefit from this, because the
whole computer industry has been forced to work with a public key patent
monopoly that stifled the use of public key algorithms for many years.
Now the field is opening up. PGP offers Diffie-Hellman (the ElGamal variant
of Diffie-Hellman) keys, and the NIST Digital Signature Standard (DSS) keys.
With these new keys comes a range of new features, including improved speed
and security. Also, there are now two separate key pairs for each user,
one pair for encrypting/decrypting (Diffie-Hellman), and one pair for
signing/veryfying (DSS). Today these are presented to the user as if they
were a single key pair. In later releases we will give the user the
capability to change his DH key without changing his DSS key.
To get the full range of benefits, it would be helpful if as much of
the PGP community as possible participates in this migration to the new
public key algorithms.
Our new code also implements new block ciphers for bulk encryption,
offering triple_DES and CAST as options, as well as continuing to support
the IDEA cipher from earlier versions of PGP. We also offer a new signature
hash algorithm, SHA-1, for computing digital signatures. The old hash
algorithm, MD5, developed by RSA Data Security Inc, has been discovered
to have serious weaknesses and is no longer recommended to make digital
signatures. To use the new SHA hash algorithm, users will have to use DSS
as their signature algorithm, because PGP's RSA signatures continue to use
the MD5 hash for backward compatability reasons."
With version 5.0.x from http://www.pgpi.com you can still
use RSA keys, with version 5.5.x you can not. If you send a
message to multiple people you can not intermix key types or
the RSA person will not be able to read it.
For use with YARN you want the version for MS-DOS listed under the
"OTHER" (UNIX) pull down menu.
In YARNS global/config file you need to have:
# program that signs a message with your secret key
secret-sign=command.com /c %d\pgps.bat %f %o
# program that encrypts a message with the recipient's public key
encrypt=command.com /c %d\pgpe.bat %f %o
# program that decrypts a message and writes the plaintext to a file
decrypt=command.com /c %d\pgpf %f %o
# program that decrypts and displays a message
decrypt-view=command.com /c %d\pgpd.bat %f
Here are the batch files:
PGPE.BAT:
REM @echo off
echo pgpe.bat
echo %1 %2 %3 %4 %5 %6 %7 %8 %9
pause
REM You can send one message to up to seven people this way
if NOT "%9" == "" GOTO NINE
if NOT "%8" == "" GOTO EIGHT
if NOT "%7" == "" GOTO SEVEN
if NOT "%6" == "" GOTO SIX
if NOT "%5" == "" GOTO FIVE
if NOT "%4" == "" GOTO FOUR
if NOT "%3" == "" GOTO THREE
:DELETE_IT
pause
REM You should use NUKE/SHRED or WIPE here instead of DEL
REM del %1
wipe %1 /f /n
exit
GOTO DELETE_IT
:NINE
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4 -r %5 -r %6 -r %7 -r %8 -r %9
GOTO DELETE_IT
:EIGHT
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4 -r %5 -r %6 -r %7 -r %8
GOTO DELETE_IT
:SEVEN
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4 -r %5 -r %6 -r %7
GOTO DELETE_IT
:SIX
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4 -r %5 -r %6
GOTO DELETE_IT
:FIVE
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4 -r %5
GOTO DELETE_IT
:FOUR
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3 -r %4
GOTO DELETE_IT
:THREE
%PGPPATH%\pgpo -e %1 -vast -o %2 -r %3
GOTO DELETE_IT
PGPF.BAT:
@echo off
echo pgpf.bat
echo %1 %2 %3 %4 %5
pause
%PGPPATH%\pgpo -v -v %1 -o %2
pause
PGPD.BAT:
@echo off
echo pgpd.bat
echo %1 %2 %3 %4 %5
pause
REM You should use NUKE/SHRED or WIPE here instead of DEL
if exist %1.txt del %1.txt >nul
%PGPPATH%\pgpo -v -v %1 -o %1.txt
pause
more <%1.txt
pause
del %1
del %1.txt
PGPS.BAT
@echo off
echo pgps.bat
echo %1 %2 %3 %4 %5
pause
%PGPPATH%\pgpo -s -atv %1 -o %2
pause
--
For information on any of the following check out my WEB site at:
http://www.biogate.com/bpaddock/
Chemical Free Air Conditioning/No CFC's, Chronic Pain Relief, Electromedicine,
Electronics, Explore!, Free Energy, Full Disclosure, KeelyNet, Matric Limited,
Neurophone, Oil City PA, Philadelphia Experiment.