mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-02-16 22:26:25 +01:00
Fix spotless
This commit is contained in:
parent
c7ad460516
commit
4ce25bbe8c
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ fun PGPSecretKeyRing.getSecretKeyFor(onePassSignature: PGPOnePassSignature): PGP
|
|||
when (onePassSignature.version) {
|
||||
3 -> this.getSecretKey(onePassSignature.keyID)
|
||||
6 -> this.getSecretKey(onePassSignature.fingerprint)
|
||||
else -> throw NotImplementedError("Version ${onePassSignature.version} OPSs are not yet supported.")
|
||||
else ->
|
||||
throw NotImplementedError(
|
||||
"Version ${onePassSignature.version} OPSs are not yet supported.")
|
||||
}
|
||||
|
||||
fun PGPSecretKeyRing.getSecretKeyFor(pkesk: PGPPublicKeyEncryptedData): PGPSecretKey? =
|
||||
|
|
Loading…
Reference in a new issue