Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] pgp.mit.edu is no longer active #63806

Closed
johnnybubonic opened this issue Mar 2, 2023 · 1 comment
Closed

[BUG] pgp.mit.edu is no longer active #63806

johnnybubonic opened this issue Mar 2, 2023 · 1 comment
Labels
Bug broken, incorrect, or confusing behavior dependency underlying Salt dependency issue Deprecation needs-triage

Comments

@johnnybubonic
Copy link

Description
Any gpg. modules that call to a keyserver, unless one is explicitly specified, will fail.

This is because SKS, the keyserver cluster that was commonly in use (and the cluster that the current default keyserver, pgp.mit.edu, was a part of), has been completely obsoleted and decommissioned. Has been for about 2 years now.

Recently, pgp.mit.edu finally decommissioned as well (which was for the best; it wasn't receiving new peered keys anyways).

There are two alternatives, however, currently in wide usage:

OpenPGP's keyserver runs Hagrid. It offers email validation (and hides email addresses on key UIDs/makes email searching impossible until they are validated, with the option to hide email addresses post-validation but still make searchable. I believe it strips all other UID info e.g. photos).

Ubuntu/Canonical's keyserver runs Hockeypuck, which essentially is a complete rewrite of SKS.

This said, I recommend using OpenPGP's keyserver as it's the compiled-in default now (from what I recall) and replacing all instances of pgp.mit.edu with keys.openpgp.org:

(It may make sense to set the default keyserver as a dundered module-scoped "constant", e.g. _default_keyserver = 'keys.openpgp.org' in salt/modules/gpg.py.)

@johnnybubonic johnnybubonic added Bug broken, incorrect, or confusing behavior needs-triage labels Mar 2, 2023
@OrangeDog OrangeDog added dependency underlying Salt dependency issue Deprecation labels Mar 3, 2023
@garethgreenaway
Copy link
Contributor

Fixed by #63952. If the issue persists please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior dependency underlying Salt dependency issue Deprecation needs-triage
Projects
None yet
Development

No branches or pull requests

3 participants