Tiny-gnupg

Latest version: v0.9.0

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

0.2.7

Not secure
=========================


Minor Changes
-------------

- Fixed statement in ``README.rst`` describing bug T4393.

0.2.6

Not secure
=========================


Minor Changes
-------------

- Typos, redundancies & naming inaccuracies fixed around the code and
documentation.
- Added a new POST request tutorial to the ``README.rst``.
- Added ``"local_user"`` kwarg to some more methods where the output
could at least be partially determined by the point of view of the
key gnupg thinks is the user’s.


Major Changes
-------------

- Added a signing toggle to the ``encrypt(sign=True)`` method. Now, the
method still automatically signs encrypted messages, but users can
choose to turn off this behavior.
- Added a ``trust(uid="", level=4)`` method, which will allow users to
sign keys in their keyring on a trust scale from 1 to 4.
- Fixed a bug in ``set_fingerprint(uid="")`` which mistakenly used an
``email`` parameter instead of the locally available ``uid`` kwarg.

0.2.5

Not secure
=========================


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.

0.2.4

Not secure
=========================


Minor Changes
-------------

- Updated ``setup.py`` with more package information.
- Typos, redundancies & naming inaccuracies fixed around the code and
documentation.
- Tests updated & added to.

0.2.3

Not secure
=========================

Minor Changes
-------------

- Typos & naming inaccuracies fixed around the code and
documentation.
- Added package to `git repo`_
- Added git repo url to ``setup.py``.
- The ``port`` attribute is currently unused. It may be removed if it
remains purposeless.

0.2.2

Not secure
=========================


Minor Changes
-------------

- Typos & naming inaccuracies fixed around the code and
documentation.
- Switched the internal networking calls to use the higher level
``network_get()`` & ``network_post()`` methods.
- Removed redundant ``shlex.quote()`` calls on args passed to the
``command()`` method.
- Tests updated & added to.

.. _git repo: https://github.com/rmlibre/tiny_gnupg.git

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.