PGP 5.0i DOS
 

Mode d'emploi de PGP 5.0i 
pour DOS (PC 386)
 

(Note : octobre 1999 - une version ligne de commande de GnuPG 1.0 pour Windows est imminente : visitez http://www.gnupg.org)
 
 

PGP 5.x utilise un nouveau type de clefs publiques non reconnu par PGP 2.6x : les clefs Diffie-Hellman. Seule la version PGP 5.0i permet l'utilisation sous DOS ou Windows 3.1 de ces clefs DH/DSS et/ou des anciennes clefs RSA. De plus, PGP 5.0i pour DOS est traduit en français (fichier de configuration française). 

PGP 5.0i pour DOS a été adapté de la version UNIX/Linux par Georg Bauer, et ne fonctionne que sur les PC 386 et supérieurs. Cette version 5.0i pour DOS souffre des bugs issus de la version UNIX mais aussi de bugs propres.

ATTENTION : une faille de sécurité peut exister lors de la génération des clefs ! Veillez à BIEN taper des caractères aléatoires et à intervalles de temps aléatoires quand PGP vous le demande ! C'est un problème propre aux caractéristiques du DOS qui est dépourvu de certaines fonctions présentes dans UNIX. Prenez garde !

On peut se la procurer ici : ftp://ftp.pgpi.org/pub/pgp/5.0/msdos/pgp50ibi.zip (600 Ko).
La visite de la HomePage de Georg Bauer est aussi conseillée (elle est régulièrement actualisée).
 

Installation

- Dans l'autoexec.bat, régler le PATH et la variable TZ  (cf. notre page Mode d'emploi : la version 2.63i DOS pas à pas)
- Rebooter le PC
- Copier les fichiers de PGP dans un répertoire C:\PGP
- Exécuter INSTALL.BAT pour créer les fichiers de PGP 5 (taper INSTALL O pour une version simplifiée)

La commande PGPO remplace l'ancienne commande PGP sauf pour la gestion des clefs.
La commande PGPK permet la gestion des clefs (génération, extraction, ajout, etc.)
Aide : PGO -H ou PGPK -H
 

Les lignes de commande de base

Exemple : chiffrer le fichier TEST.TXT pour envoyer à PRZ

(- Génération de sa propre paire de clefs : pgpk -g)
(- Extraction de la clef : pgpk -xa clefàextraire)
- Chercher la clef PRZ dans le fichier de clefs publiques : pgpk -l prz pubring.pkr
- Ajouter à son fichier de clefs la clef de PRZ (contenue dans PRZ.ASC) : pgpk -a prz.asc
- Chiffrer : pgpo -r prz test.txt
- Déchiffrer : pgpo fichieràdéchiffrer
- Chiffrer de manière conventionnelle (IDEA) : pgpo -c test.txt
- Chiffrer en signant : pgpo -r prz -s test.txt
 

Toutes les commandes :
 

PGPK : pour gérer les clefs

To generate your own unique public/private key pair:
   pgpk -g [<userid> DSS|RSA <keysize> <userid> <validity> <passphrase>]
To add a key file's contents to your public or private key ring:
   pgpk -a keyfile [keyfile ...]
To remove a key from your public and private key ring:
   pgpk -r userid  (or pgpk -rk userid)
To remove a user ID from your public and private key ring:
   pgpk -ru userid
To remove a signature from your public key ring:
   pgpk -rs userid
To edit your user ID or pass phrase:
   pgpk -e your_userid
To edit the confidence you have in a person as an introducer:
   pgpk -e her_userid
To extract (copy) a key from your public key ring:
   pgpk -x userid -o keyfile
To extract (copy) a key from your public key ring in ascii form:
   pgpk -xa userid -o keyfile
To list the contents of your key rings:
   pgpk -l[l] [userid]
To check signatures on your public key ring:
   pgpk -c [userid]
To sign someone else's public key on your public key ring:
   pgpk -s her_userid [-u your_userid]
To disable or re-enable some else's public key on your public key ring:
   pgpk -d her_userid
To permanently revoke your own key on your public and private key rings:
   pgpk --revoke your_userid
To revoke a signature you made on someone else's key on your pub key ring:
   pgpk --revokes your_userid
 

PGPO : émulation des lignes de commande de la version 2.6x

pgpo [-aedfmqrstuvz] <file1> [-o <outfile> file2 -o <outfile2>]

Old-style PGP 2.6.3 emulation command-line

-a                ASCII armoring
-e    Encryption mode
-b                Detached signature
-c                Conventional Encryption (IDEA only; is mutually exclusive
                  with -s, -u and -r)
-f                Filter Mode; Read from stdin to stdout
-o <output file>  Output file for most recent input file
-q                Quiet mode
-r <userid>       UserID to encrypt to.  May be specified multiple times.
-s                Signature mode. Can be combined with -e to do both
-t                Text mode
-u <userid>       UserID of the key you wish to sign with.  May only be
                  specified once.  If not specified, your default signing
                  key will be used.
-v                Verbose
-z                Batch mode (assumes no user interaction; only partly
                  implemented.)

Sadly, this isn't fully implemented yet. For key-management use PGPK
 

PGPE : pour chiffrer

pgpe [[-r <recip1> -r <recip2>] [-s [-u <myid>]] | [-c]] [-afqtvz]
     <file1> [-o outfile1] <file2> [-o <outfile2>]

PGP Encrypt file(s)

-a                ASCII armoring
-c                Conventional Encryption (IDEA only; is mutually exclusive
                  with -s, -u and -r)
-f                Filter Mode; Read from stdin to stdout
-o <output file>  Output file for most recent input file
-q                Quiet mode
-r <userid>       UserID to encrypt to.  May be specified multiple times.
-s                Sign, as well as encrypt (use pgps to just sign).  If no
                  userid is specified with -u, the default userid is used.
-t                Text mode
-u <userid>       UserID of the key you wish to sign with.  May only be
                  specified once.
-v                Verbose
-z                Batch mode (assumes no user interaction; not yet
                  implemented.
 

PGPS : pour signer

pgps [-u userid] [-bafqtvz] <file1> [-o <outfile> file2 [-o <outfile2>]]

PGP Sign file(s)

-a                ASCII armoring
-b                Detached signature
-f                Filter Mode; Read from stdin to stdout
-o <output file>  Output file for most recent input file
-q                Quiet mode
-t                Text mode
-u <userid>       UserID of the key you wish to sign with.  May only be
                  specified once.  If not specified, your default signing
                  key will be used.
-v                Verbose
-z                Batch mode (assumes no user interaction; not yet
                  implemented.)
 

PGPV : pour déchiffrer et vérifier

pgpv [-dfKmqvz] <file1> [-o <outfile> file2 -o <outfile2>]

Decrypt/Verify PGP encrypted and/or signed file(s)

-f                Filter Mode; Read from stdin to stdout
-K                Do not process any keys that are present (normally pgpv
                  will add keys to your keyring if found in an input file)
-m                More Mode; display using pager rather than saving
-o <output file>  Output file for most recent input file
-q                Quiet mode
-v                Verbose
-z                Batch mode (assumes no user interaction; not yet
                  implemented).
 
 


Mise à jour : août 1998
© 1997, 1998, 1999, 2000, pplf 14A0 4A67 0431 2402 684D 6EBA 537F 664D 3F80 0D58
pgpenfrancais@bigfoot.com


accueil  |  présentation  |  sommaire  |  histoire  |  manuels français  |  mode  d'emploi  |  news  |  autre crypto