add docstrings to gpg module