| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This adds numbers tracking to identify which devs have passing keys
and which have only failing keys.
|
|
|
|
| |
Move bitlength calc within the primary if,
|
| |
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
gkeys-ldap does not use the email arg.
Prevents:
File "/var/lib/gkeys/gentoo-keys/gkeys/gkeys/base.py", line 330, in setup
if args.email:
AttributeError: 'Namespace' object has no attribute 'email'
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
Vulture now has python3.6 as default, but python-ldap-3* is not yet stable
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
All keyings locations can be set individually now
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
| |
Handles the case of incorrect configuration or keyring problems.
Reported by irc user "puchu" in #gentoo-keys.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Add sig_path assignment, makes the sig_path available to class instance holders like _verify()
Use the lack of a returned timestamp to abort the process
If the main file is not downloaded, then don't bother looking for a signature.
This allows a verify action to exit smoothly.
There is a message about the reason for not downloading, so is not hidden.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
This way it is done once and can be re-used anywhere in the code.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
| |
gpg signed
This way if the git config is not set to enforce signing, this will ensure it is signed.
|
|
|
|
|
|
| |
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.
|
|
|
| |
This is to aid in troubleshooting fetch-sedd url errors.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Update descriptions.
Update operations to current library code usage.
<rebase edit>
Replace print() use with self.output(). Expand commit message
</edit Brian Dolbec>
|
|
|
|
| |
<rebase edit> use _set_category() for consistency </edit Brian Dolbec>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
I created a new file called `mail.py` that handles the email login and the email sending.
|