gpgsm bash completion

Collin Funk collin.funk1 at gmail.com
Sun Jul 6 02:10:10 CEST 2025


Hi Marco,

Marco Moock via Gnupg-users <gnupg-users at gnupg.org> writes:

> I am running Debian with 2.4.8-1.
>
> I noticed that gpg support bash command completion, but gpgsm doesn't.
> Was that ever available for gpgsm?

The bash completions for 'gpg' are maintained by the bash-completion
project, not GnuPG [1][2][3].

I suppose whoever wrote them originally did not use the 'gpgsm' command,
since it does not have completions implemented.

I'm sure they would be happy to accept the contribution if you or
someone else implemented it. The completions for the other commands
should be a good reference.

Collin

[1] https://github.com/scop/bash-completion/blob/51b009f6a653c66454816e9bc869c40f61329764/completions/gpg
[2] https://github.com/scop/bash-completion/blob/51b009f6a653c66454816e9bc869c40f61329764/completions/gpg2
[3] https://github.com/scop/bash-completion/blob/51b009f6a653c66454816e9bc869c40f61329764/completions/gpgv



More information about the Gnupg-users mailing list