Qubes Updater Warning - Whonix 17 - gpg: WARNING: no command supplied. Trying to guess what you mean

I get this error at the top of Qubes Update for ws and gw 17 template updating. The update successfully downloads and installs but the error is kinda ominous sounding esp since gpg recently needed to be fixed. I did that fix to update adrenalos key and it’s been working for a week but I’ve noticed this warning now. Do I need to do something to fix it, does it need to be fixed ?

Gpg WARNING no command supplied. Trying to guess what you mean …

Thanks

3 Likes

This is very most likely caused by:

Source code line qubes-core-admin-linux/vmupdate/agent/source/plugins/whonix17_key.py at whonix-key-update · marmarek/qubes-core-admin-linux · GitHub

key_info = subprocess.check_output([“gpg”, “–with-colons”, KEYFILE_PATH])

Will effectively result in:

gpg --with-colons /usr/share/keyrings/derivative.asc

This isn’t the most ideal way to use gpg but there is no security issue.

Which then produces:

gpg: WARNING: no command supplied. Trying to guess what you mean …

You can safely ignore this warning. It’s purely cosmetic / usability issue. Or you can report it on qubes-issues.

3 Likes

Thank you for quick response

2 Likes