Giter Club home page Giter Club logo

Comments (13)

dpwspoon avatar dpwspoon commented on May 22, 2024 2

What about changing catalina.sh to use /dev/urandom via a java property. -Djava.security.egd=file:/dev/./urandom

from tomcat.

md5 avatar md5 commented on May 22, 2024

from tomcat.

AlexanderShushunov avatar AlexanderShushunov commented on May 22, 2024

It is a virtual machine. How can I increase entropy?

from tomcat.

md5 avatar md5 commented on May 22, 2024

from tomcat.

md5 avatar md5 commented on May 22, 2024

Here's a related issue in the VirtualBox issue tracker that has a couple other suggestions on how to get more entropy into the VM: https://www.virtualbox.org/ticket/11297

from tomcat.

AlexanderShushunov avatar AlexanderShushunov commented on May 22, 2024

Thank you for the answers.
As I understand, low entropy is a problem for all VMs.

from tomcat.

md5 avatar md5 commented on May 22, 2024

@dpwspoon That's a reasonable workaround for development purposes.

from tomcat.

dpwspoon avatar dpwspoon commented on May 22, 2024

What about for production? I'm not a cryptology expert but the following posts seem to make it seem like urandom is secure. post1 and post2

from tomcat.

delfuego avatar delfuego commented on May 22, 2024

I'm bumping into this tonight β€” startups that take 5-10 minutes. Has anyone ever figured out a real solution to this for production systems?

from tomcat.

yosifkit avatar yosifkit commented on May 22, 2024

I would infer from the linked post and article that switching to /dev/urandom would be fine.

from tomcat.

dpwspoon avatar dpwspoon commented on May 22, 2024

That is correct

from tomcat.

delfuego avatar delfuego commented on May 22, 2024

FYI, for a while Docker has had a trivial way to make this switch that doesn't involve any changes to Tomcat or a system property β€” docker run --device /dev/urandom:/dev/random ...

from tomcat.

tianon avatar tianon commented on May 22, 2024

Sounds like this is pretty well understood and solved now. πŸ‘

(Might be worth adding something to the image documentation, if it's still a recurring problem. πŸ˜„)

from tomcat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.