"a@b:c$ gpg -e -b -r Mike data.file" produces the encrypted file data.file.sig with the detached signature of data.file
I don't think there's a oneliner for what you're trying to achieve

gpg -er Mike data.file
gpg -b data.file.gpg


17.01.2021 00:56, Ayoub Misherghi via Gnupg-users пишет:

a@b:c$ gpg -e -b -r Mike data.file


produced "data.file.sig" and no "data.file.gpg"


Thanks,


Ayoub



On 1/16/2021 2:53 AM, Dmitry Gudkov wrote:
Just get rid of -s

On Jan 16, 2021 12:35, Ayoub Misherghi via Gnupg-users <gnupg-users@gnupg.org> wrote:


The intention is to sign and encrypt "data.file" producing a detached signature file.


a@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.


Ayoub


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to