Skip to content

Fix warnings#235

Merged
eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:fix-warnings
Apr 25, 2026
Merged

Fix warnings#235
eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:fix-warnings

Conversation

@xuwei-k

@xuwei-k xuwei-k commented Apr 25, 2026

Copy link
Copy Markdown
Member

No description provided.

for (name <- this.publicKey.userIDs) {
val spGen = new PGPSignatureSubpacketGenerator()
spGen.setSignerUserID(false, name)
spGen.addSignerUserID(false, name)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

val spGen = new PGPSignatureSubpacketGenerator()
val isHumanReadable = true
spGen.setNotationData(true, isHumanReadable, notation._1, notation._2)
spGen.addNotationData(true, isHumanReadable, notation._1, notation._2)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spGen.addNotationData(true, isHumanReadable, notation._1, notation._2)
// TODO - Embedd this key's signatures?
userIDs.headOption foreach (spGen.setSignerUserID(false, _))
userIDs.headOption foreach (spGen.addSignerUserID(false, _))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def creationTime = nested.getCreationTime
def fingerprint = nested.getFingerprint
def isRevoked = nested.isRevoked
def isRevoked = nested.hasRevocation

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"RSA"
case PublicKeyAlgorithmTags.DSA => "DSA"
case PublicKeyAlgorithmTags.EC => "EC"
case PublicKeyAlgorithmTags.ECDH => "EC"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xuwei-k xuwei-k marked this pull request as ready for review April 25, 2026 06:42

@eed3si9n eed3si9n left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit 08ad7a5 into sbt:develop Apr 25, 2026
4 checks passed
@xuwei-k xuwei-k deleted the fix-warnings branch April 25, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants