github / github/smimesign

Signer ignores PSS

Aperta
#86 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
certstore
Lingua principale
Go
Stelle
657
Fork
154
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

On both `windows` and `darwin`, using the `Signer` of an `Identity` object as a private key of a TLS certificate doesn't work against a server that requires TLS v1.3.
In this case, a GO TLS server, for example, returns an "error decrypting message" error due to missing `0xbc` at the end of the signature during the handshake. The reason for this is not using the padding scheme when signing the digest.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non è indicato alcun file o test. Inizia tracciando il Signer di un oggetto Identity quando viene usato come chiave privata di un certificato TLS su windows e darwin, quindi riproduci l’handshake TLS v1.3 con un server TLS Go. Il lavoro è completato quando l’handshake non segnala più "error decrypting message" e la firma usa lo schema di padding richiesto, incluso lo 0xbc finale previsto.

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

Valutazione

Stack tecnologico
go
Ambito
cryptography, networking, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.