Why is there a conflict?

Stefan Claas spam.trap.mailing.lists at gmail.com
Sun Jan 17 00:33:05 CET 2021


On Sun, Jan 17, 2021 at 12:10 AM Ayoub Misherghi <ayoubhm at gmail.com> wrote:
>
>
> On 1/16/2021 3:18 AM, Stefan Claas wrote:
>
> On Sat, Jan 16, 2021 at 11:57 AM Stefan Claas
> <spam.trap.mailing.lists at gmail.com> wrote:
>
> On Sat, Jan 16, 2021 at 11:34 AM Ayoub Misherghi via Gnupg-users
> <gnupg-users at gnupg.org> wrote:
>
> The intention is to sign and encrypt "data.file" producing a detached signature file.
>
>
> a at b:c$ gpg -s -e -b -r Mike data.file
>
> gpg: conflicting commands
>
>
> Why is there a conflict? I do not want to produce an attached signature.
>
> You use -s and -b, try 'gpg -a -b -e file'
>
> You can shorten this like: 'gpg -aber Mike data.file' (cool German
> word 'aber' :-)
>
> Regards
> Stefan
>
> gpg -aber data.file
>
> produced "data.file.asc" and no "data.file.sig"
>
>
> Danke,

Gern geschehen (you're welcome)!

Try to omit the 'a' and see if you then get the .sig file.
(I am a bit out of the loop regarding gpg)

Regards
Stefan



More information about the Gnupg-users mailing list