mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 18:06:02 +02:00
age: add page (#5758)
This commit is contained in:
parent
d95f3adf9f
commit
f5469ee92c
2 changed files with 56 additions and 0 deletions
28
pages.de/common/age.md
Normal file
28
pages.de/common/age.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# age
|
||||||
|
|
||||||
|
> Ein einfaches, modernes und sicheres Dateiverschlüsselungswerkzeug.
|
||||||
|
> Mehr Informationen: <https://age-encryption.org>.
|
||||||
|
|
||||||
|
- Generiere eine verschlüsselte Datei, die mit einer Passphrase entschlüsselt werden kann:
|
||||||
|
|
||||||
|
`age --passphrase --output {{pfad/zu/verschlüsselter_datei}} {{pfad/zu/unverschlüsselter_datei}}`
|
||||||
|
|
||||||
|
- Generiere ein Schlüsselpaar, speichere dabei den privaten Schlüssel in einer unverschlüsselten Datei und gib den öffentlichen Schlüssel zu stdout aus:
|
||||||
|
|
||||||
|
`age-keygen --output {{pfad/zu/datei}}`
|
||||||
|
|
||||||
|
- Verschlüssle eine Datei mit einem oder mehr öffentlichen Schlüsseln, die als Zeichenketten eingegeben werden:
|
||||||
|
|
||||||
|
`age --recipient {{öffentlicher_schlüssel_1}} --recipient {{öffentlicher_schlüssel_2}} {{pfad/zu/unverschlüsselter_datei}} --output {{pfad/zu/verschlüsselter_datei}}`
|
||||||
|
|
||||||
|
- Verschlüssle eine Datei mit einem oder mehr öffentlichen Schlüsseln, die in einer Empfängerdatei angegeben sind:
|
||||||
|
|
||||||
|
`age --recipients-file {{pfad/zu/empfängerdatei}} {{pfad/zu/unverschlüsselter_datei}} --output {{pfad/zu/verschlüsselter_datei}}`
|
||||||
|
|
||||||
|
- Entschlüssle eine Datei mit einer Passphrase:
|
||||||
|
|
||||||
|
`age --decrypt --output {{pfad/zu/entschlüsselter_datei}} {{pfad/zu/verschlüsselter_datei}}`
|
||||||
|
|
||||||
|
- Entschlüssle eine Datei mit einer privaten Schlüsseldatei:
|
||||||
|
|
||||||
|
`age --decrypt --identity {{pfad/zu/privater_schlüsseldatei}} --output {{pfad/zu/entschlüsselter_datei}} {{pfad/zu/verschlüsselter_datei}}`
|
28
pages/common/age.md
Normal file
28
pages/common/age.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# age
|
||||||
|
|
||||||
|
> A simple, modern and secure file encryption tool.
|
||||||
|
> More information: <https://age-encryption.org>.
|
||||||
|
|
||||||
|
- Generate an encrypted file that can be decrypted with a passphrase:
|
||||||
|
|
||||||
|
`age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
|
||||||
|
|
||||||
|
- Generate a key pair, saving the private key to an unencrypted file and printing the public key to stdout:
|
||||||
|
|
||||||
|
`age-keygen --output {{path/to/file}}`
|
||||||
|
|
||||||
|
- Encrypt a file with one or more public keys that are entered as literals:
|
||||||
|
|
||||||
|
`age --recipient {{public_key_1}} --recipient {{public_key_2}} {{path/to/unencrypted_file}} --output {{path/to/encrypted_file}}`
|
||||||
|
|
||||||
|
- Encrypt a file with one or more public keys that are specified in a recipients file:
|
||||||
|
|
||||||
|
`age --recipients-file {{path/to/recipients_file}} {{path/to/unencrypted_file}} --output {{path/to/encrypted_file}}`
|
||||||
|
|
||||||
|
- Decrypt a file with a passphrase:
|
||||||
|
|
||||||
|
`age --decrypt --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
|
||||||
|
|
||||||
|
- Decrypt a file with a private key file:
|
||||||
|
|
||||||
|
`age --decrypt --identity {{path/to/private_key_file}} --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
|
Loading…
Add table
Reference in a new issue