Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Server rejects OpenPGP certificates without encryption subkey

Aperta
#149 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript

Direzione di ricerca

Start by tracing the key validation path used by both the HKP upload and web form, then reproduce the 400 response with a signing-only OpenPGP certificate. Check how the validator handles certificates without encryption subkeys and revocation certificates. Done means valid signing-only certificates are accepted through both upload paths without weakening other validation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Trying to add my code signing key via hkp fails with 400 bad request, and uploading via the web form reveals:

 Error! Invalid PGP key. No valid encryption key found: Could not find valid encryption key packet in key 31855247603831fd 

I think this is rather unfortunate, as having a separate OpenPGP certificate for code signing is a way to separate concerns, i.e. no signature over a git object can ever be mistaken for a signature made by my main certificate.

Other useful OpenPGP certificates without encryption subkeys are certificate revocations (note that the same composition is useful for v4 certificate revocations: the bare signature lacks context, pairing it with the primary key provides that context).

Lingua principale
JavaScript
Stelle
481
Fork
81
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mailvelope/keyserver

Tutte le issue di mailvelope/keyserver

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.