public: support `gpg-sign` and `gpg-key` options