mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-05 03:41:07 +01:00
Fix issuer key information on subkey binding signatures
This commit is contained in:
parent
9a23f0d05f
commit
ba47194cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class KeyRingBuilder(private val version: OpenPGPKeyVersion, private val api: PG
|
|||
for (subKeySpec in subKeySpecs) {
|
||||
val subKey = generateKeyPair(subKeySpec, version, api.implementation)
|
||||
val hashedSignatureSubpackets: SignatureSubpackets =
|
||||
SignatureSubpackets.createHashedSubpackets(subKey.publicKey).apply {
|
||||
SignatureSubpackets.createHashedSubpackets(primaryKey.publicKey).apply {
|
||||
setKeyFlags(subKeySpec.keyFlags)
|
||||
subKeySpec.preferredHashAlgorithmsOverride?.let {
|
||||
setPreferredHashAlgorithms(it)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue