Skip to content

fix bug in SecretKeyUtil - #2027

Closed
winfriedgerlach wants to merge 1 commit into
bcgit:mainfrom
winfriedgerlach:bug/SecretKeyUtil
Closed

fix bug in SecretKeyUtil#2027
winfriedgerlach wants to merge 1 commit into
bcgit:mainfrom
winfriedgerlach:bug/SecretKeyUtil

Conversation

@winfriedgerlach

@winfriedgerlach winfriedgerlach commented Mar 14, 2025

Copy link
Copy Markdown
Collaborator

found a bug (ID string was added to map, not the ASN1ObjectIdentifier), but is this class even used?

@dghgit

dghgit commented Mar 18, 2025

Copy link
Copy Markdown
Contributor

Thanks for the patch, merged with a few revisions. Yes, it looks like the class has reached its used-by date. I've left it in as other people might be relying on it, but I've deprecated it. We'll see what shows up.

@dghgit dghgit closed this Mar 18, 2025
@winfriedgerlach

winfriedgerlach commented Mar 18, 2025

Copy link
Copy Markdown
Collaborator Author

@dghgit Hi, thanks for you quick reaction! I don't see a change in SecretKeyUtil yet, ist there another branch that is not visible to regular users? I'd like to see what your revisions were to improve future PRs.

Also another question, I found many places where types could be added to generic classes and Java 8 features could be used. Is it of value to you if I provide PRs for that?

hubot pushed a commit that referenced this pull request Mar 19, 2025
@dghgit

dghgit commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

Somehow I missed the follow up. The answer is "possibly" I know that sounds a bit weird, but we're still doing a Java 5 to Java 8 release, so Java 8 features can still result in code duplication, which we try to avoid where we can.

@winfriedgerlach

Copy link
Copy Markdown
Collaborator Author

All right, I understand that. Will only make suggestions that are Java 5 compatible.
At some point in time in the future, users will understand that you are dropping pre-Java-8, Java 8 is already 11 years old ;-)

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