Made gpg command a parameter, as some people might use gpg, or
gpg2. Eventually it should be more general, so not gpg-specific.