[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crypter un fichier avec ssh



D'accord avec DominiX, voici un petit exemple pour fixer les idees:

Encodage:
openssl enc -des3 -in <file> -out <file>.ssl

Decodage:
openssl enc -d -des3 -in <file>.ssl -out <file>

PS: l'encodage par cette methode n'enleve pas le fichier original, donc je fais
    aussi rm -f <file> apres l'encodage.

A+, JD.

On Wednesday 27 April 2005 10:05, DominiX wrote:
Do > > exemple: crypter un tar avec ma cla publique. Comme cela, je serais le
Do > > seul a pouvoir decrypter ce fichier.
Do > > 
Do > 
Do > utilise openssl

-- 
Jean-Damien Durand CERN/IT/FIO/DS - Geneva, Switzerland
PGP: http://home.cern.ch/~jdurand/public_key.asc
CERN CA: http://cern.ch/service-grid-ca/crt/root_crt.html
WWW: http://home.cern.ch/~jdurand

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: