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

Re: [NON RESOLU] Re: crypter un fichier avec ssh



[...]


moi quand j'ai besoin de crypter un fichier pour moi,
j'utilise GPG.

Réaliser sans trucage:

kopke@meuble:~$ echo "coin">file-to-encrypt
kopke@meuble:~$ gpg --encrypt-files file-to-encrypt
You did not specify a user ID. (you may use "-r")

Current recipients:

Enter the user ID.  End with an empty line: C37DA43A

Current recipients:
1024g/AAB4E47A 2001-11-11 "Mickaël Villers <kopke@spam.spammeur>"

Enter the user ID.  End with an empty line: 

kopke@meuble:~$ ls file-to-encrypt*
file-to-encrypt  file-to-encrypt.gpg

kopke@meuble:~$ gpg --decrypt-files file-to-encrypt.gpg 

You need a passphrase to unlock the secret key for
user: "Mickaël Villers <kopke@spam.spammeur>"
1024-bit ELG-E key, ID AAB4E47A, created 2001-11-11 (main key ID
C37DA43A)

gpg: encrypted with 1024-bit ELG-E key, ID AAB4E47A, created 2001-11-11
      "Mickaël Villers <kopke@spam.spammeur>"
File `file-to-encrypt' exists. Overwrite? (y/N) y

kopke@meuble:~$ cat file-to-encrypt
coin
      

Attachment: signature.asc
Description: Digital signature


Reply to: