TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Random Seeds in Ubuntu 14.04 LTS Cloud Instances

41 pointsby jcastroover 11 years ago

5 comments

zimbatmover 11 years ago
TLDR; PRNG seeds in the cloud are somewhat predictable. Because sshd generates the keys on boot it&#x27;s possible to guess the private key on a fraction of the cloud hosts.<p>Ubuntu 14.04LTS solves the problem by adding a new source of entropy. They add a early-boot (before sshd) service that fetches data from an external server. In short: `curl <a href="http://some-server" rel="nofollow">http:&#x2F;&#x2F;some-server</a> &gt; &#x2F;dev&#x2F;urandom`<p>EDIT: Looking for the default server but launchpad seems to be down. Ideally it would be a trusted source like the cloud provider themselves.<p>EDIT2: <a href="https://entropy.ubuntu.com/" rel="nofollow">https:&#x2F;&#x2F;entropy.ubuntu.com&#x2F;</a> and the public cert is provided with the package.
评论 #7259806 未加载
otterleyover 11 years ago
Is egd not sufficient here?
评论 #7261434 未加载
neuroscrover 11 years ago
Sending your random seed over the wire doesn&#x27;t sound like the right direction. For those listening, it always makes sure they have your seed. Did the NSA get them too?
bmm6oover 11 years ago
The links in the slides are borked, there seem to be 3 stray bytes at the end of each shortened url.
hiphopyoover 11 years ago
Choose OpenBSD for your Unix needs. OpenBSD -- the world&#x27;s simplest and most secure Unix-like OS. Creator of the world&#x27;s most used SSH implementation OpenSSH, the world&#x27;s most elegant firewall PF, and the world&#x27;s most elegant mail server OpenSMTPD. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.
评论 #7260518 未加载
评论 #7260654 未加载
评论 #7260568 未加载
评论 #7260634 未加载