From 1517785d30a76d3bfcd53d0b0ae71862d1f90af7 Mon Sep 17 00:00:00 2001 From: Dennis Gunia Date: Fri, 2 Oct 2020 15:40:56 +0000 Subject: [PATCH] Update README.md --- README.md | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c067684..9256a91 100644 --- a/README.md +++ b/README.md @@ -99,16 +99,36 @@ ts-node .\index.ts --privkey private.key --decrypt --safe .\out\credentials.json ## Syntax ==> Schlüsselpaar Erzeugen -`ts-node .\index.ts --privkey --pubkey --genkey +`ts-node .\index.ts --privkey --pubkey --genkey` -z.B. `ts-node .\index.ts --privkey private.key --pubkey public.key --genkey +z.B. `ts-node .\index.ts --privkey private.key --pubkey public.key --genkey` ==> Codes Erzeugen und versenden -`ts-node .\index.ts --config --pubkey --send --safe .\out\credentials.json --mails -html +`ts-node .\index.ts --config --pubkey --send --safe .\out\credentials.json --mails -html ` -z.B. `ts-node .\index.ts --config config.json --pubkey public.key --send --safe .\out\credentials.json --mails mail.txt -html template.html +z.B. `ts-node .\index.ts --config config.json --pubkey public.key --send --safe .\out\credentials.json --mails mail.txt -html template.html` ==> Safe entschlüsseln -`ts-node .\index.ts --privkey --decrypt --safe .\out\credentials.json +`ts-node .\index.ts --privkey --decrypt --safe .\out\credentials.json` -z.B. `ts-node .\index.ts --privkey private.key --decrypt --safe .\out\credentials.json \ No newline at end of file +z.B. `ts-node .\index.ts --privkey private.key --decrypt --safe .\out\credentials.json` + +## Kompillierte Binaries +Die Kompilierten Binaries sind für Linux, MacOS und Windoof verfügbar: [Binaries](https://gitlab.dennisgunia.de/dennisgunia/one-time-code-js/-/tree/master/bin)` + +Die befehle ändern sich wie folgt: + +==> Schlüsselpaar Erzeuge +`./opentoken --privkey --pubkey --genkey` + +z.B. `./opentoken --privkey private.key --pubkey public.key --genkey` + +==> Codes Erzeugen und versenden +`./opentoken --config --pubkey --send --safe .\out\credentials.json --mails -html ` + +z.B. `./opentoken --config config.json --pubkey public.key --send --safe .\out\credentials.json --mails mail.txt -html template.html` + +==> Safe entschlüsseln +`./opentoken --privkey --decrypt --safe .\out\credentials.json` + +z.B. `./opentoken --privkey private.key --decrypt --safe .\out\credentials.json`