This commit is contained in:
Herman Slatman 2021-03-26 15:24:27 +01:00
parent c5e4ea08b3
commit 69d701062a
No known key found for this signature in database
GPG key ID: F4D8A44EA0A75A4F

View file

@ -60,7 +60,7 @@ func (o *Options) Validate() error {
return errors.New("only RSA public keys are (currently) supported as decrypters")
}
// check if intermedate public key is the same as the decrypter public key.
// check if intermediate public key is the same as the decrypter public key.
// In certnanny/sscep it's mentioned that the signing key can be different
// from the decrypting (and encrypting) key. Currently that's not supported.
if !decrypterPublicKey.Equal(intermediate.PublicKey) {