| Commit message (Collapse) | Author | Files | Lines |
|
* Temporarily removing multi-key selection based examples.
* There are a few issues with getting the key selections to play
nicely with gpg.Context().keylist object types.
* Will troubleshoot them separately and restore them when that's
worked out, but I don't want these more complicated examples to
delay merging the HOWTO with master.
|
|
* Troubleshooting.
|
|
* Fixed two incorrect Context() objects.
|
|
* Removed extraneous blank line.
|
|
* Similar to group-key-selection.py, but does not use an existing
group from gpg.conf; instead takes multiple key IDs, fingerprints or
patterns on the command line and adds them to a keylist object.
|
|
* Begins to string together some of the simpler examples to do more
useful things.
* Signs and encrypts a file while encrypting to every key in a group
specified in the gpg.conf file.
|
|
* Example of preparing a keylist object using an existing group line
from the gpg.conf file.
|
|
* Updated usage so it only references importing the final list of
lists produced. Trying to use some of the mid-points can have
unpredictable results (this is part of the problem with work
arounds).
|
|
* Added a docstring.
|
|
* Added example for verifying detached signatures against the files
they're the signatures for.
|
|
* Added example to verify normal and clearsigned files.
|
|
* Fixed minor error in one of the verification examples.
|
|
* Added example to make detached signatures of a file with key selection.
|
|
* Adjusted the doc string.
|
|
* Fixed minor errors in two doc strings.
|
|
* Added example to clear sign a file with signing key selection.
|
|
* deconstructed and fixed all three signing methods.
|
|
* Similar to encrypt file except for signing a file in normal mode.
* Noticed additional changes to be made to the howto to match this,
but they will have to wait due to a power outage (currently running
on battery and a mobile connection, but that won't last).
|
|
* Fixed typos in examples.
|
|
* Fixed missing parenthesis.
|
|
* Decrypts a file taking file names as command line parameters.
|
|
* Added groups selection work around code.
* Intended for use as a module to be imported by other scripts,
usually with "from groups import group_lists" or "from groups import
group_lines" or similar.
|
|
* Nested encryption in try/except statement in case recipient key is
untrusted or invalid.
|
|
* Example to sign and encrypt a file.
* Similar to encrypt-file.py except all keys are considered trusted
and signs with the default key.
* Also encrypts to the default key.
|
|
* Fixed typo in second encryption call.
|
|
* Example to encrypt a file to a single key.
* Takes key ID and/or fpr as a CLI parameter.
* Takes path and filename as a CLI parameter.
* Encrypts to specified key only, no signing and writes the output in
both ASCII armoured and GPG binary formats with output filenames
based on input filename.
|
|
* Added script wo count the number of keys in both the public and
secret key stores.
|
|
* Explicitly stated that all this code is released under the GPLv2+
and the LGPLv2.1+.
|
|
* Added the same license as used with the HOWTO.
* Since these examples are so basic, they'll be dual licensed the same
as GPGME itself (otherwise it would slip too dangerously against the
need for permissive licensing of crypto libraries).
|
|
* Added reference to location where all the examples included in the
HOWTO will be available as executable scripts.
* Included a short README file in that location.
|
|
* Since we don't want to encourage accessing the low level functions
(e.g. op_encrypt), but since this example can still be useful to
understand, renaming it and will add new encryption examples to
match the instructions in the HOWTO.
|
|
* Slight python-gnupg clarification. See also this thread:
https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033528.html
|
|
* Adjusted the python-gnupg so the comments regarding insecure
invocation of commands via subprocess (shell=True) were a major
historical issue and not a a current issue.
* Not including Vinay Sajip's requested change to say it is now secure
since no audit of the current code base has been performed and my
last major inspection of that code was around the time I first
ported PyME to Python 3 in 2015.
|
|
* Checked off several points of howto coverage as completed.
* Reorganised to move S/MIME coverage to its own separate group of tasks.
* Noted only revocation remains for howto completion.
|
|
* deconstructing multi-recipient encryption.
|
|
* Replaced the single encryption methods with one main way (i.e. cut
the low level stuff involving SEEK_SET instructions).
|
|
* moved single encrytion examples up to the first ones, pending merge
and major cut.
* This is basically just to make future checks of revisions a little easier.
|
|
* Stripped decryption example to the bare bones as suggested by Justus.
|
|
* Made the changes suggested by Jakub Wilk on gnupg-devel.
* Still need to make the far more comprehensive changes suggested by Justus.
|
|
* Added clarification on why it's not on PyPI.
|
|
* fixed custom_id for decryption so the XHTML validates.
|
|
* Promoted final encryption example so that it will appear as heading
6.1.3 when exported to HTML or PDF.
|
|
* Fixed a minor typographic error.
* Bumped version number in preparation for merge with master.
* While there are probably a few more things worthy of being added
(mainly how to revoke things), this document is essentially ready
for publication now.
Signed-off-by: Ben McGinnes <[email protected]>
|
|
* Added key signing.
|
|
* Added a new user ID for Danger Mouse.
* Removed the empty entry for key preferences since that is handled
through gpg.conf and/or editing the key directly.
|
|
* Spell checking and fixing the few errors.
|
|
* Added an encryption subkey to Danger Mouse's primary key.
|
|
* generated a new primary key for Danger Mouse in an alternative homedir.
|
|
* Added sections for key generation and key editing.
|
|
* Added c.get_key instructions and examples.
|