Commit message (Collapse)AuthorAgeFilesLines
* gkeys-ldap update-seeds.sh: Add -S option to git commits to ensure they are ↵Brian Dolbec2018-07-061-2/+2
| | | | | gpg signed This way if the git config is not set to enforce signing, this will ensure it is signed.
* gkeys base.py: Remove the auto-update code from run()Brian Dolbec2018-07-061-58/+0
| | | | | | This code was causing the fetch-seed action to fail with empty urls to connect to. This code should also not be running directly from the CliBase class. I'll move this code to the actions or lib class, to be determined later.
* gkeys seedhandler.py: Add another debug log for the seedurl and seedpathBrian Dolbec2018-07-061-0/+1
| | | This is to aid in troubleshooting fetch-sedd url errors.
* gkeys actions: Added automatic seeds,keys update capabilityaeroniero332018-07-063-13/+24
| | | | | | | | | | Add more detailed update reporting including the keys removed, revoked/changed, added. <rebase edit> Convert print() to proper self.output() Whitespace cleanup Commit message improvements </edit Brian Dolbec>
* gkeys actions: Add keys updated reportingaeroniero332018-07-062-1/+39
| | | | | | | | | Report the updated/revoked keys during the update. <rebase edit> Replace print() with self.output() Whitespace cleanup Create a meaningful commit message </edit Brian Dolbec>
* gkeys/actions: Update the update-seed functionaeroniero332018-07-061-25/+7
| | | | | | | | Update descriptions. Update operations to current library code usage. <rebase edit> Replace print() use with self.output(). Expand commit message </edit Brian Dolbec>
* Created the send-key functionaeroniero332018-07-061-4/+4
| | | | <rebase edit> use _set_category() for consistency </edit Brian Dolbec>
* remove debug printPavlos Ratis2018-07-061-1/+0
* Added automatic update check + fixesaeroniero332018-07-063-9/+85
* Updated update-seed to display the updated keys when it's usedaeroniero332018-07-062-1/+40
* Updated the update-seed function and did a few improvementsaeroniero332018-07-062-12/+34
* Created the update-seed functionaeroniero332018-07-062-2/+31
* Made the default GPG config file overridableaeroniero332018-07-061-6/+16
* Fixed a bug in the verify functionaeroniero332018-07-061-1/+2
* Created the send-key functionaeroniero332018-07-063-1/+53
* Implemented the email reminders in spec-checkaeroniero332018-07-061-4/+34
| | | | | | | I added a few more lines of code in `actions.py` that if `args.email` == `expiry`, it logs in to the email server using the config credentials, checks every key if they pass the days limit, finds the user's email, compiles a message that includes all necessary information and sends the message to the user's email.
* Added some util methods in keyhandleraeroniero332018-07-061-0/+42
| | | | | | | | The methods are: is_expiring that checks if a key is expiring or has recently expired set_template that reads the template file and returns it as a string generate_template that substitutes the key prints in the template find_email that extracts the correct email address from the key uid
* Added a mail script that handles the emailing proccessaeroniero332018-07-061-0/+51
| | | | I created a new file called `mail.py` that handles the email login and the email sending.
* 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
| |