HNHacker News
TopNewBestAskShowJobs

justinludwig

557 karma · joined February 13, 2010

submissionscomments
justinludwig··on SSH Bastion Host Best Practices
Also adds defense-in-depth against stolen credentials -- it means an attacker can't just exfiltrate stolen SSH credentials to use sometime later from somewhere else on the Internet (or sell them / pass them along to a different specialist) -- the attacker either has to use them in-place, or break into some other machine that's also on the allow-list.
justinludwig··on Ask HN: How do I enter the startup industry?
If you have some time you can afford to invest, help out on a popular open-source project (one that you're interested in, and that has lots of open issues which need curating/investigating/fixing). This will help you:

1. Build work experience for your resume 2. Develop expertise with the software that the project uses and produces 3. Generate ideas for your own startup 4. Meet and interact with prospective customers for your own startup, or prospective coworkers at other startups where you might like to work

Do that for 6 months or a year, and then try applying to startups which use that open source project (or start your own business solving a common problem that users run into with that project).

justinludwig··on Ask HN: Recommended two-factor authenticator app for personal use?
RE the alternative question: 2FA is _not_ an alternative to password managers -- it's like seat-belts and brakes on a car, you're going to want both. You need a password manager to keep track of the random password you've set for each of the hundred sites you log into; and you should use 2FA for high-value sites in case the password you used for that site gets stolen (like via malware infestation on your computer, or you're tricked into entering your credentials on a phishing page, etc).
justinludwig··on The Third Web
If you're reasonably familiar with what web3 is supposed to be, you can skip the first two thirds of this essay, and jump straight to the "So what’s your fucking problem with Web3?" section (which contains a number of better points than its title might suggest).
justinludwig··on UK law will hit smart home device makers with fines for using default passwords
This is a nice start at standardizing basic IoT device security; other highlights:

- manufacturers must tell customers up front about the lifespan of security patches and updates - manufacturers must provide a public point of contact for vulnerability disclosure

justinludwig··on Ask HN: Searching for a SaaS/Startup Security HN Post
Any one of these three might be what you were thinking of:

* https://mvsp.dev/mvsp.en/index.html * https://www.goldfiglabs.com/guide/saas-cto-security-checklis... * https://latacora.micro.blog/2020/03/12/the-soc-starting.html

justinludwig··on Cracking Random Number Generators Using Machine Learning – Part 1: Xorshift128
Nice analysis of what's going on behind the scenes in the ML model -- and I love the section at the end thinking about how to make the RNG more resistant to ML cracks.
justinludwig··on Ask HN: Aren't NFTs sort of centrally controlled?
Most NFTs are meant to function like a certificate of ownership to some external thing. The proof of ownership is decentralized, even if the thing itself is not. And like any such certificate, it's only useful insofar as whoever actually controls the thing agrees your certificate is legit (or can be compelled to recognize it as such).

If there's an NFT that says you're the owner of a fancy bottle of wine stored in some wine vault somewhere, you'll never sniff that wine unless the proprietor of the vault agrees you own it and is willing to surrender it to you. If an NFT says you own 5 bushels of lettuce on a truck headed out of Walla Walla, you'll never see those bushels unless the trucking company agrees you own the lettuce and is willing to deliver it to your care. If an NFT says you own a hilarious GIF hosted somewhere on the Internet, you'll never gaze upon it unless that hosting service agrees to serve it to you.

If I scribbled on the back of a napkin that I was transferring my immortal soul to you, could you redeem that napkin for my soul? Would it make a difference if I put the deed on the blockchain? I would say the only differences between the napkin and the blockchain are 1) anyone can see it on the blockchain; 2) on the blockchain the deed can't be tampered with later; 3) the blockchain can include some programmatic constraints/triggers on the transaction (eg to make sure I can only sell my soul once, I can only sell my own soul, I'm now flagged as doomed to wander the earth in eternal torment, etc).

justinludwig··on OpenSSL 3.0 Has Been Released
Release notes (part of the migration guide): https://www.openssl.org/docs/man3.0/man7/migration_guide.htm...

Not too many breaking changes per-se, but lots of old API calls deprecated (pretty much all the old low-level APIs), plus new default values for a variety of things.

Also, going forward they'll be using the standard semantic version-numbering system.

justinludwig··on NSA doesn't think quantum computers can break public key encryption
The article is based on this NSA FAQ (PDF): https://media.defense.gov/2021/Aug/04/2002821837/-1/-1/1/Qua...

I don't see anything new, but nice to have their official position in a compact FAQ format. Also, I think the headline of this MSN article (as well as the Register article from which it seems to be copied) is somewhat misleading -- the NSA doesn't seem to be suggesting they think quantum computers will _never_ be able to break public-key encryption, just that everyone should sit tight and trust the ongoing NIST process for standardizing post-quantum crypto:

> Once NIST post-quantum cryptographic standards are published and certification procedures for those algorithms are established, CNSSP-15 [US gov standard for protecting classified info] will be updated with a timeline for required use of the post-quantum algorithms and disuse of the quantum-vulnerable portion of the current CNSA Suite of algorithms.

And for the time being, adding a pre-shared key where possible to existing public-key algorithms is a better quantum-mitigation strategy than trying to use a new, unproven alternative:

> Many commercial protocols allow a pre-shared key option that may mitigate the quantum threat, and some allow the combination of pre-shared and asymmetric keys in the same negotiation. However, this issue can be complex.... NSA considers the use of pre-shared symmetric keys in a standards-compliant fashion to be a better near-term post-quantum solution than implementation of experimental post-quantum asymmetric algorithms that may or may not be proven secure and which will not be compatible with NIST standards.

justinludwig··on PostgreSQL Subtransactions Considered Harmful
Lame title, but a really good, in-depth examination of the lurking issues with subtransactions on postgres.
justinludwig··on AWS will offer free Multi-Factor Authentication devices to customers
Their press release (https://press.aboutamazon.com/news-releases/news-release-det...) also includes a few more details about the devices:

> AWS users with access to the AWS Management Console can authenticate themselves by typing in their passwords and then simply touching the MFA security token plugged into their computer’s USB port.... Customers can also use their MFA devices to safely access multiple AWS accounts, as well as other token-enabled applications, such as GitHub, Gmail, and Dropbox.

justinludwig··on LastPass: design flaw in communication to privileged components
Using different usernames/emails for different services is not a bad idea (particularly as a defense against untargeted attacks). But using a simple algorithm for generating passwords (ie pretty much any algorithm a human can remember) is playing with fire -- if an attacker can recover your generated passwords from just a few different services (via lucky crack from a db dump, or some site stored or transmitted or logged it in plaintext, or you were phished, or you created an account to try out someone's random mvp on a slapdash server that was already pwnd, etc), a human attacker will be able to figure out your username/password for all of your services. (And if we're not there already, it won't be too long before automated password crackers can do the same.)

Plus, from a practical standpoint, what do you do when a site forces you to change your password because they fear their password db has been compromised (or has asinine rules about your password being too long, or make you rotate your password every 90 days, or they change their domain name 5 times in 3 years)?

justinludwig··on Ask HN: Who is hiring? (June 2016)
CODE Technology | https://www.codetechnology.com/ | Seattle, WA | onsite/telecommute | full-time software developer

CODE Technology is a small, newly-funded startup devoted to measuring the quality of medical care by collecting patient-reported outcome measures. We've got an informal, small-team vibe, and offer flexible working arrangements. We're looking to hire another "full-stack" software generalist. Our core software is a web application built with the Grails framework, so we're looking for someone good at:

    * Groovy (or some other JVM language, like Java, Scala, etc)
    * SQL
    * HTML/JS/CSS
Even more awesome would be experience with:

    * Grails
    * MySQL
    * Linux
    * AWS
    * Ansible
You'll be working on a wide range of problems, like:

    * constructing SQL queries to find outliers in survey responses
    * streamlining the web UI for entering new patients into our app
    * fashioning logic to extract relevant data from customer's medical-record systems
    * automating the scale up/down of front-end servers to match demand
Email justin@codetechnology.com to get started -- our relaxed interview process consists of a few hour-long chats (no brain-teaser or "write some code" questions) with our developers, an hour-long pair-programming session, and a 4-hour take-home programming sample (as the last step).
justinludwig··on Ask HN: Who is hiring? (May 2015)
CODE Technology (http://www.codetechnology.com/) | Seattle, WA | Full-Stack Software Engineer

We're a 3-person startup looking for developer #2. Our business is collecting patient-reported outcomes over the Web. Our platform is built on Groovy/Grails, so we're looking for a developer with experience in:

  * Groovy (or some other JVM language, Java, Scala, etc)
  * SQL
  * HTML/JS/CSS
Email me at justin@codetechnology.com if you're interested in making a big impact at a small but rapidly growing company.
justinludwig··on GPG and Me
Mailpile (https://www.mailpile.is/). It's pretty bare-bones as far as a mail client goes, but it gets the job done.
justinludwig··on Lenovo Caught Installing Adware on New Computers
There's also another crowdsupply linux laptop that's a little more practical than the Novena: Purism's Librem. Its whole raison d'etre is to be a high-end laptop that's libre everything -- pretty apropos, I think:

https://www.crowdsupply.com/purism/librem-laptop

justinludwig··on Why I Did Not Go To Jail
I've heard variations of this before -- try googling just for "when the paddy wagon pulls up".
justinludwig··on CISPA is back
Yeah, this "CISPA is back" page doesn't seem to contain much info about what's new with CISPA. Here are the two news reports from yesterday about this new cybersecurity bill:

http://thehill.com/blogs/hillicon-valley/technology/281309-r...

http://www.bloomberg.com/news/2013-02-08/obama-said-near-iss...

justinludwig··on Zero-day Exploit Price List
A wrench is a weapon in the war against loose bolts. However, most people would probably call it a weapon only when wielded with the intention of hitting another person.

I don't think it's fair to characterize the intention of stuxnet as blowing up reactors. From what I've read, the purposeful damage it was designed to inflict was to disable uranium-enriching equipment. I don't recall reading anything about purposeful attempts to use the software to kill or wound.

That's where I'd draw the line: purposeful killing. So I'd describe this as a case of cyber-sabatoge -- not a case of cyber-war.

justinludwig··on How I learned to stop worrying and love REST
The HTML form tag; also expressed more directly as URL templates. The server provides the parameterized template, and the client fills in the params to access the resource.
justinludwig··on Ask HN: Minor vs Major in CS
Any company worth working for will value material, real-world experience over an academic degree. You'd be much more likely to get a job at that kind of company if you dedicated your 'fifth year' to working on an established open-source project, rather than finishing up a major in CS. After a year of working on an open-source project, you'd have a trail of patches and bug reports demonstrating your programming competence, and hopefully you'd also have established enough rapport with one or two of the project leads to use them as references (and probably also for job leads).

If your fifth year at school really is free, and you're enjoying the college experience, then there's no harm in spending another year there. You will learn a few things in your upper-level CS classes that you'll use at some point in your programming career. But there's nothing you can learn in any of your CS classes that you can't learn on your own outside of the classroom. The only real value of a CS education at a brick-and-motor university is a) being immersed in a community of academic pursuit and discourse, and b) the alumni connections. And you don't get much value from those things just by attending classes -- you have to go out and pursue those relationships with your professors, classmates, and alumni.

justinludwig··on HTTPS is more secure, so why isn't the Web using it?
> unless they're talking about proxy caching

I'm fairly certain that's what he's talking about. A) He's Yves Lafon, and B) when you're talking web architecture, you care very much about what intermediaries can do.

justinludwig··on Ask HN: What's your favorite online-backup tool?
What's wrong with s3? It's cheap and simple. If you use linux, try http://live.gnome.org/DejaDup -- it provides a dead-easy gui to automate backups (to s3, or to other kinds of storage).
justinludwig··on Usability.gov - Usability guidelines for (government) web designers
Why is a web "usability" site full of pdfs and .doc files?
justinludwig··on Understand The Web by Ben Ward
tl;dr: "Want to know if your ‘HTML application’ is part of the web? Link me into it. Not just link me _to_ it; link me _into_ it." Fuck yeah!
justinludwig··on Why I'm rejecting your email attachment
Do not send me an frigging OpenDocument! Send me a link to a web page. If it's not on the web, paste the text into the email message. If it's not text, send me a gif/jpg/png. If it doesn't fit in any of those formats, I don't want it. And if it's a deck of slides, just fuck off already!
← PreviousPage 3 of 3