1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 18:29:39 +02:00

Copy deprecation annotation

This commit is contained in:
Paul Schaub 2025-03-13 15:41:18 +01:00
parent aace92214a
commit 16a2e77776
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -29,6 +29,7 @@ open class BaseSecretKeyRingProtector(
return passphraseProvider.hasPassphrase(keyIdentifier)
}
@Deprecated("Pass in a KeyIdentifier instead.")
override fun getDecryptor(keyId: Long): PBESecretKeyDecryptor? =
getDecryptor(KeyIdentifier(keyId))