| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
I added 2 `args` parameters called `--email` and `--user` in `base.py`
to be given to spec-check in order for the script to run.
(The `--user` is optional for the user to select with which account to login)
|
|
|
|
|
|
|
|
| |
Added a template_path and a commented days limit value in `gkeys.conf`.
Added a 30 default value for the days limit in `config.py`.
I also added another config file called `email.conf` that includes the 2 templates
for email users' credentials and a preferred address ending
with the default being `@gentoo` which if enabled will only send emails to these addresses.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If the --signature argument refers to an existing file path,
use it. This fixes an issue where signature verification would
fail because the sig_path variable referred to None.
|
|
|
|
|
| |
The failed dictionary contains lists for each type of failure,
so return success if all of those lists are emtpy.
|
| |
|
|
|
|
| |
Changed the file format.
|
|
|
|
|
|
| |
Changed the names of Qualified_IDs
Changed Qualified_Id position
|
|
|
|
| |
X-Gentoo-bug: 572890
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=572890
|
|
|
| |
This will include a full traceback for debugging.
|
| |
|
| |
|
| |
|
|
|
| |
Update for an ssl-fetch API change
|
| |
|
|
|
| |
There were no active exceptions at this point which in itself caused an exception.
|
| |
|
| |
|
|
|
|
| |
Fix verify-keyring typo in verify action.
Add missed self.category setting in verify().
|
|
|
|
| |
pyGPG changed, it now returns None for a key/subkey that it fails to find.
Add a cat check as well.
|
|
|
|
| |
The --trust-model option is needed for git verification and many other gkeys operations.
|
|
|
|
| |
This prevents trying to look into a file like it does a keyring directory.
(I accidentlly added garbage to a keyring using gpg directly)
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\
| |
| | |
Gkeys-gpg
|
| |
| |
| |
| |
| |
| |
| |
| | |
Working skeleton of the cli using the gkeys cli code base
gkeysgpg: Get the initail cli operations working with stubbed out Actions
Parse the stdin data for the user name, nick, search for and set the correct keydir.
Add in remaining args options needed.
Change the return info from True/False to 0/1 to prevent confusion.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Creation of a new KeyHandler class.
Move primary seed handling intialization and control to the new KeyHandler class.
This unifies key handling and removes suplicated code throughout Actions class.
Break out a KEY_OPTIONS list. Cleans up a long line and makes it available for
import use to ensure the correct options are added to the cli (gkeys-gpg) for
correct key_search() operation.
|
| |
| |
| |
| |
| |
| |
| | |
This class is to hold non-action functions/methods
Restructure external handlers.
Creation of @property decorated keyhandler, seedhandler, gpg functions to
initialize and return.the classwide instances of their code.
|
| |
| |
| | |
gkeys-gpg needs options added to the base app without sub commands.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Re-arrange the sorting of search_args for a better debug message.
|
| | |
|
| |
| |
| | |
Split out common code to be used for all veritf_* functions.
|
| |
| |
| |
| |
| | |
Move the config to ~/.config/gkeys/ along with the logs.
Fix the improper ensure_dirs() call in base.py.
|
| |
| |
| | |
Sort the staus attribute.
|
|/
|
| |
This will instead get the filename itself back.
|
|
|
|
|
| |
First use was for creating a gpg signed Manifest verification in portage.
Use snakeoil's demandload for imports
|
|
|
|
|
|
|
| |
as an API
Rough draft, so it can be used for the args arguments in Actions functions.
An alternate to having an argsparser innstance.
|
| |
|
| |
|
|
|
|
|
| |
would fail to verify
Move EXTENSIONS out as a constant instead of being defined twice.
|
|
|
|
|
|
| |
File "/usr/lib64/python2.7/site-packages/gkeys/actions.py", line 798, in _verify
results = self.gpg.verify_file(key, sig_path, filepath)
UnboundLocalError: local variable 'sig_path' referenced before assignment
Reported by: Johannes Huber <johu@gentoo.org>
|
|
|
|
| |
Update for newer listseed() data returned.
|