mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Document KOpenPGP mitigations
This commit is contained in:
parent
a31cc46c93
commit
828e31e12c
1 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,14 @@ class Policy(
|
|||
NotationRegistry(),
|
||||
AlgorithmSuite.defaultAlgorithmSuite)
|
||||
|
||||
/**
|
||||
* Decide, whether to sanitize public key parameters when unlocking OpenPGP secret keys.
|
||||
* OpenPGP v4 keys are susceptible to a class of attacks, where an attacker with access
|
||||
* to the locked key material (e.g. a cloud email provider) might manipulate unprotected
|
||||
* public key parameters of the key, leading to potential secret key leakage.
|
||||
*
|
||||
* @see [Key Overwriting (KO) Attacks against OpenPGP](https://www.kopenpgp.com/)
|
||||
*/
|
||||
var enableKeyParameterValidation = false
|
||||
|
||||
fun copy() = Builder(this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue