asus_n53sv
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
asus_n53sv [2021/10/27 09:29] – [Trouver des gros fichiers] Benjamin Labomedia | asus_n53sv [2022/10/20 21:50] – [GPG générer une clef / exporter / crypter / decrypter] Benjamin Labomedia | ||
---|---|---|---|
Ligne 1303: | Ligne 1303: | ||
* https:// | * https:// | ||
==== GPG générer une clef / exporter / crypter / decrypter ==== | ==== GPG générer une clef / exporter / crypter / decrypter ==== | ||
+ | === Créer une paire de clef : === | ||
- | Créer une paire de clef : | ||
gpg --full-gen-key | gpg --full-gen-key | ||
Ligne 1314: | Ligne 1314: | ||
gpg --list-keys | gpg --list-keys | ||
| | ||
- | Afficher fingerprint d'une clef | + | === Afficher fingerprint d'une clef === |
gpg --with-fingerprint nomdelaclefPGP.pub | gpg --with-fingerprint nomdelaclefPGP.pub | ||
- | Exporter sa clef publique et privée : | + | === Exporter sa clef publique et privée : === |
gpg -a --export-secret-keys NUMDECLEFVUEAVANT > | gpg -a --export-secret-keys NUMDECLEFVUEAVANT > | ||
gpg -a --export NUMDECLEFVUEAVANT > | gpg -a --export NUMDECLEFVUEAVANT > | ||
+ | | ||
+ | === Exporter les clefs publiques et privées à partir du nom du porteur de la clef === | ||
+ | |||
+ | gpg --export-secret-key -a " | ||
+ | gpg --export -a " | ||
+ | | ||
+ | === Decrypter un message === | ||
- | Decrypter un message | ||
gpg --output msgdecrypté.txt --decrypt messagecrypté.pgp | gpg --output msgdecrypté.txt --decrypt messagecrypté.pgp | ||
+ | | ||
+ | === Editer une clef === | ||
+ | |||
+ | gpg --edit-key bcadon@labomedia.net | ||
+ | voir ensuite help et les commande | ||
+ | list | ||
+ | choisir un uid | ||
+ | uid 5 | ||
+ | deluid | ||
+ | adduid | ||
+ | save | ||
+ | quit | ||
+ | |||
+ | === Reculer la date d' | ||
+ | Set the expiration date | ||
+ | pgp --set-expiration-date --expiration-date < | ||
+ | Example: pgp --set-expiration-date --expiration-date 2020-01-01 "Test User " --passphrase password | ||
+ | |||
+ | Set the number of days to expiration | ||
+ | pgp --expiration-days < | ||
+ | Example: pgp --set-expiration-days 365 "Test User" --passphrase password | ||
+ | |||
+ | Remove the expiration date from the key | ||
+ | pgp --remove-expiration-date < | ||
+ | Example: pgp --remove-expiration-date "Test User" --passphrase password | ||
==== Retrouver les archives d'une conversation IRC Jabber ==== | ==== Retrouver les archives d'une conversation IRC Jabber ==== |
asus_n53sv.txt · Dernière modification : 2023/04/21 14:22 de Benjamin Labomedia