Page MenuHome GnuPG

The manpage lies, saying "only one command is allowed"
Closed, ResolvedPublic

Description

We see this in the manpage:

Commands are not distinguished from options except for the fact that only one command is allowed.

And the syntax supports that:

gpg [--homedir dir] [--options file] [options] command [args]

However, there is no --encrypt-and-sign command. Users must supply two commands: --encrypt and --sign.

Details

Version
2.1.18-8~deb9u1

Event Timeline

werner claimed this task.
werner added a subscriber: werner.

Ah well, no rules without exception.