aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Added --user and --email args parameters for spec-checkaeroniero332018-07-062-1/+10
| | | | | | 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)
* Created email.conf and setup the config files needed for the email remindersaeroniero332018-07-063-3/+13
| | | | | | | | 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.
* gkeys actions: Migrate self.category setting to _set_category()Brian Dolbec2016-12-231-8/+10
|
* gkeys actionbase: Fix trust model detection & setting in _set_trust()Brian Dolbec2016-12-231-2/+2
|
* gkeys actions: Fix missing category errors for sign actionBrian Dolbec2016-12-231-0/+2
|
* gkeys-ldap: Add missed CliBase.__init__() callBrian Dolbec2016-12-231-0/+1
|
* gkeys-ldap: Remove keychain line from update-seeds.shBrian Dolbec2016-12-231-2/+0
|
* gkeys-ldap: Add --signed to push commands in update-seeds.shBrian Dolbec2016-12-231-2/+2
|
* Actions._verify: support --signature path argumentZac Medico2016-10-271-0/+2
| | | | | | 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.
* Actions.checkkey: fix success returncodeZac Medico2016-10-231-1/+2
| | | | | The failed dictionary contains lists for each type of failure, so return success if all of those lists are emtpy.
* Fixed move-seed functionaeroniero332016-06-013-6/+5
|
* Added a requirements fileaeroniero332016-06-011-0/+4
| | | | Changed the file format.
* Count Incorrect Qualified IDs and present them in the speccheck summary.aeroniero332016-06-011-1/+11
| | | | | | Changed the names of Qualified_IDs Changed Qualified_Id position
* gkeys-gen: Fix typo causing a traceback for bug 572890Brian Dolbec2016-03-011-1/+1
| | | | X-Gentoo-bug: 572890 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=572890
* gkeys: Increase a few logger.error messages to logger.exceptionBrian Dolbec2016-01-232-3/+3
| | | This will include a full traceback for debugging.
* actions.py: Update for ssl-fetch API changesBrian Dolbec2016-01-231-0/+6
|
* Bump versions for a release0.2Brian Dolbec2016-01-233-3/+3
|
* testpath: Fix py2man symlink generationBrian Dolbec2016-01-231-3/+7
|
* actions.py: Update ssl-fetch Connector call, add climitBrian Dolbec2016-01-201-1/+4
| | | Update for an ssl-fetch API change
* gkeys-gpg: Make singing and other than verify actions work Brian Dolbec2015-12-253-41/+32
|
* gkeys/actionbase.py: Add an exception to the raise statementsBrian Dolbec2015-12-121-2/+2
| | | There were no active exceptions at this point which in itself caused an exception.
* gkeys/log.py: Remove a couple commented out debug printsBrian Dolbec2015-12-121-2/+0
|
* gkeysgpg/actions.py: Recode the sign() to replace this process with the gpg callBrian Dolbec2015-12-121-7/+24
|
* gkeys: Set default verify-keyring, add verify-nick defaultBrian Dolbec2015-08-252-2/+4
| | | | Fix verify-keyring typo in verify action. Add missed self.category setting in verify().
* actionbase.py: Fix sanity check in _set_categoryBrian Dolbec2015-08-251-1/+3
| | | | pyGPG changed, it now returns None for a key/subkey that it fails to find. Add a cat check as well.
* gkeys: Add settable trust-model for the keyringsBrian Dolbec2015-08-092-1/+23
| | | | The --trust-model option is needed for git verification and many other gkeys operations.
* gkeys/seedhandler.py: Add an isdir check to load_categoryBrian Dolbec2015-08-091-0/+2
| | | | This prevents trying to look into a file like it does a keyring directory. (I accidentlly added garbage to a keyring using gpg directly)
* gkeysgpg/cli: Fix a list copyBrian Dolbec2015-08-081-1/+1
|
* Fix setup.py for gkeys-gpg tool.Robin H. Johnson2015-08-081-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Merge pull request #38 from gentoo/gkeys-gpgBrian Dolbec2015-08-0816-179/+708
|\ | | | | Gkeys-gpg
| * gkeysgpg: Initial commit of the gkeys-gpg commandBrian Dolbec2015-08-084-0/+376
| | | | | | | | | | | | | | | | 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.
| * gkeys/lib.py: Creation of the code for the verify_text()Brian Dolbec2015-08-081-2/+11
| |
| * gkeys: [2 of 2] Move common key handling to it's own classBrian Dolbec2015-08-082-118/+148
| | | | | | | | | | | | | | | | | | 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.
| * gkeys: [1 of 2] Creation of a new ActionBase classBrian Dolbec2015-08-082-7/+93
| | | | | | | | | | | | | | 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.
| * gentoo-keys: Modify the cli base for the new gkeys-gpg gpg wrapper commandBrian Dolbec2015-08-084-19/+31
| | | | | | gkeys-gpg needs options added to the base app without sub commands.
| * gkeys: Update copyrights, Add Pavlos to several filesBrian Dolbec2015-08-087-11/+17
| |
| * gkeys/base.py: Fix typo in action initializationBrian Dolbec2015-08-081-1/+1
| |
| * gkeys/seedhandler.py: Add an addtional debug log messageBrian Dolbec2015-08-081-2/+3
| | | | | | | | Re-arrange the sorting of search_args for a better debug message.
| * gkeys/lib.py: Whitespace cleanup, remove an unused variable assignmentBrian Dolbec2015-08-021-1/+2
| |
| * gkeys/lib.py: Split out _log_result()Brian Dolbec2015-08-021-12/+13
| | | | | | Split out common code to be used for all veritf_* functions.
| * gkeys: Fix the user config location and operationBrian Dolbec2015-08-022-5/+10
| | | | | | | | | | Move the config to ~/.config/gkeys/ along with the logs. Fix the improper ensure_dirs() call in base.py.
| * gkeys/base.py: Add missing action and timestamp attributesBrian Dolbec2015-08-021-1/+3
| | | | | | Sort the staus attribute.
| * gkeys/actions.py: Fix a traceback when a filename does not have an extensionBrian Dolbec2015-08-021-1/+1
|/ | | This will instead get the filename itself back.
* gkeys/gkeysinterface.py: Initial commit of an api consumer interfaceBrian Dolbec2015-07-251-0/+120
| | | | | First use was for creating a gpg signed Manifest verification in portage. Use snakeoil's demandload for imports
* gkeys/base.py: Add an alternate args class for compatibility use for Action ↵Brian Dolbec2015-07-251-0/+27
| | | | | | | as an API Rough draft, so it can be used for the args arguments in Actions functions. An alternate to having an argsparser innstance.
* gkeys: Re-enable remove-key actionBrian Dolbec2015-07-251-1/+1
|
* gkeys/actions.py: Add filename extension check exclusion Brian Dolbec2015-06-221-1/+2
|
* gkeys/actions.py: verify url was not smart about being passed a sig url and ↵Brian Dolbec2015-05-311-3/+5
| | | | | would fail to verify Move EXTENSIONS out as a constant instead of being defined twice.
* gkeys/actions.py: Fix an UnboundLocalErrorBrian Dolbec2015-05-301-0/+1
| | | | | | 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>
* gkeys/actions.py: Seed handling fixesBrian Dolbec2015-05-301-4/+8
| | | | Update for newer listseed() data returned.