GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — A suggestion about specifying a source of secure randomness for better security · Issue #14026 · netty/netty

A suggestion about specifying a source of secure randomness for better security #14026

New issue
Copy link
New issue
Copy link
Closed
#14058
Closed
A suggestion about specifying a source of secure randomness for better security#14026
#14058
Copy link

Description

@Gax-c
Gax-c
opened on Apr 30, 2024
Issue body actions

Hello everyone! I'm new to netty and when I was browsing the code I found the following code in JdkSslServerContext.java here:

            ctx.init(keyManagerFactory.getKeyManagers(),
                    wrapTrustManagerIfNeeded(trustManagerFactory.getTrustManagers()),
                     null);

The code here use a "null", which means using the default securerandom. Although securerandom has already provided enough security, specifying one will ensure better security. For example, using SunJSSE.cryptoProvider for fip mode will be better.

Activity

  1. hyperxpro commented on May 3, 2024

    @hyperxpro
    hyperxpro
    on May 3, 2024
    Contributor
    More actions

    Looks valid. @normanmaurer WDYT?

  2. normanmaurer commented on May 3, 2024

    @normanmaurer
    normanmaurer
    on May 3, 2024
    Member
    More actions

    @hyperxpro @Gax-c I think we could add another constructor that take one ?

  3. hyperxpro commented on May 3, 2024

    @hyperxpro
    hyperxpro
    on May 3, 2024
    Contributor
    More actions

    Yup. Shall I go ahead with a PR?

    Reacted by Norman Maurer and Gax
  4. normanmaurer commented on May 3, 2024

    @normanmaurer
    normanmaurer
    on May 3, 2024
    Member
    More actions

    @hyperxpro sure

  5. thxwelchs commented on May 19, 2024

    @thxwelchs
    thxwelchs
    on May 19, 2024
    Contributor
    More actions

    Hi @normanmaurer, @hyperxpro, @Gax-c

    I'm interested in this so I created a PR. Could you please review this?

    #14058

    Reacted by injae kim
  6. normanmaurer
    closed this as completedin #14058on May 22, 2024
  7. normanmaurer
    added 3 commits that reference this issue on May 22, 2024

    Add support for specifying SecureRandom in SSLContext initialization (#…

    This issue will close once commit ebf0e41 is merged into the '4.2' branch.
    ebf0e41

    Add support for specifying SecureRandom in SSLContext initialization (#…

    This issue will close once commit 9841b19 is merged into the '4.2' branch.
    9841b19

    Add support for specifying SecureRandom in SSLContext initialization (#…

    This issue will close once commit f3ff91c is merged into the '4.2' branch.
    f3ff91c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.