Skip to content

Commit 2e125b4

Browse files
committed
checksum-dependency: remove images from stored public keys
1 parent f017758 commit 2e125b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/checksum-dependency-plugin/src/main/kotlin/com/github/vlsi/gradle/checksum/SignatureExtensions.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ fun PGPPublicKeyRingCollection.strip() =
8585
PGPPublicKey.removeCertification(key, userId)
8686
}
8787
}
88+
.map {
89+
it.userAttributes.asSequence()
90+
.fold(it) { key, attribute ->
91+
PGPPublicKey.removeCertification(key, attribute)
92+
}
93+
}
8894
)
8995
}
9096
)

0 commit comments

Comments
 (0)