=========================
Minor Changes
-------------
- Typos, redundancies & naming inaccuracies fixed around the code and
documentation.
- Tests updated & added to.
- Changed ``raw_network_export()`` & ``raw_network_verify()`` methods
into ``raw_api_export()`` & ``raw_api_verify()``, respectively.
This was done for more clarity as to what those methods are doing.
Major Changes
-------------
- Added ``sign(message)`` & ``verify(message)`` methods.
- Changed the ``keyserver`` & ``searchserver`` attributes into
properties so that custom ``port`` attribute changes are now
reflected in the constructed url, & the search string used by a
custom keyserver can also be reflected.
- Moved all command validation to the ``read_output()`` method which
simplifies the construction of ``command()`` & will automatically
``shlex.quote()`` all commands, even those hard-coded into the
program.
- Fixed bug in ``set_homedir()`` which did not construct the default
gpghome directory string correctly depending on where the current
working directory of the calling script was.
- Added ``local_user`` kwarg to ``encrypt()`` & ``sign()`` so a user
can specify which key to use for signing messages, as gnupg
automatically signs with whatever key it views as the default user
key. Instead, we assume mesasges are to be signed with the key
associated with the email address of a GnuPG class instance, or the
key defined by the ``local_user`` uid if it is passed.
- Fixed –list-keys terminal output parsing. We now successfully parse
& parameterize the output into email addresses & fingerprints, of
a larger set of types of keys.
- Added ``delete()`` method for removing both public & private keys
from the local keyring. This method still requires some user
interaction because a system pinentry-type dialog box opens up to
confirm deletion. Finding a way to automate this to avoid user
interaction is in the work.
- Added automating behavior to the ``sign()`` & ``encrypt()`` methods
so that keys which haven’t been verified will still be used. This is
done by passing “y” (yes) to the terminal during the process of the
command.