From 82652ba7c6aa21eeb7afe13693aaee799313289d Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Wed, 27 Apr 2022 14:31:44 +0200 Subject: [PATCH] Fix typo. --- README.md | 4 ++-- main.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 07a7f86..5c575b7 100644 --- a/README.md +++ b/README.md @@ -103,10 +103,10 @@ Usage: go-sendxmpp [-cdilnt] [-f value] [--help] [--http-upload value] [-j value Skip verification of TLS certificates (not recommended). --ox Use "OpenPGP for XMPP" encryption (experimental). --ox-genprivkey-rsa - Generate a public OpenPGP key (RSA 4096 bit) for the given + Generate a private OpenPGP key (RSA 4096 bit) for the given JID and publish the corresponding public key. --ox-genprivkey-x25519 - Generate a public OpenPGP key (x25519) for the given JID and + Generate a private OpenPGP key (x25519) for the given JID and publish the corresponding public key. --ox-import-privkey=value Import an existing private OpenPGP key. diff --git a/main.go b/main.go index e3e35cd..454ce62 100644 --- a/main.go +++ b/main.go @@ -108,10 +108,10 @@ func main() { flagMUCPassword := getopt.StringLong("muc-password", 0, "", "Password for password protected MUCs.") flagOx := getopt.BoolLong("ox", 0, "Use \"OpenPGP for XMPP\" encryption (experimental).") flagOxGenPrivKeyRSA := getopt.BoolLong("ox-genprivkey-rsa", 0, - "Generate a public OpenPGP key (RSA 4096 bit) for the given JID and publish the "+ + "Generate a private OpenPGP key (RSA 4096 bit) for the given JID and publish the "+ "corresponding public key.") flagOxGenPrivKeyX25519 := getopt.BoolLong("ox-genprivkey-x25519", 0, - "Generate a public OpenPGP key (x25519) for the given JID and publish the "+ + "Generate a private OpenPGP key (x25519) for the given JID and publish the "+ "corresponding public key.") flagOxPassphrase := getopt.StringLong("ox-passphrase", 0, "", "Passphrase for locking and unlocking the private OpenPGP key.")