HNHacker News
TopNewBestAskShowJobs

jbg_

378 karma · joined January 16, 2012

submissionscomments
jbg_··on Pass: A standard Unix password manager
Interesting. The same PIN that I use to unlock the card on my laptops works on my phone. I'm not sure what would lead to the behaviour you describe!
jbg_··on Pass: A standard Unix password manager
I haven't used the iOS client, but on Android the most common way to sync is to use your own Git repository accessed over SSH. You could use a private GitHub repo or one on your own server.
jbg_··on Pass: A standard Unix password manager
The password manager of course does not "provide" such a mechanism (I imagine providing a "bypass audit logs" button would not be a popular feature). But if you know the key (the master password, or some derivative of it) and you have the ciphertext then you will be able to get the plaintext.

The only way this kind of auditing could be trusted is if all the secrets are stored on the server that implements the auditing, which is exactly the model I believe that most users of `pass` are trying to avoid.

jbg_··on Pass: A standard Unix password manager
I've used this for a long time, and along with its Git integration (pushing/pulling to/from a repository on my own server, accessed over SSH) and a GPG key stored on a Yubikey Neo, I've got basically seamless sync between two laptops, a desktop and an Android phone, without using any third-party service.

The "Password Store" app on Android is compatible with `pass` and supports Git and NFC for using the Yubikey Neo to decrypt the passwords.

jbg_··on Pass: A standard Unix password manager
I use Git; pass has integration with it out of the box (makes a commit for each change to the password store). I just push and pull periodically myself, but this could be automated. There is an Android app called Password Store that is compatible with pass and has Git integration built in.

I remember seeing some guy who had his `pass` Git repository public on GitHub and challenged the world to crack any of them. Myself, it's just git+ssh to a repository on my own server.

jbg_··on Pass: A standard Unix password manager
A hash is a value. You don't have to encode it in hex.
jbg_··on Pass: A standard Unix password manager
But you would just need to carry the salt around instead. You're just trading convenience for (significantly) lower security.
jbg_··on Pass: A standard Unix password manager
"you can lookup which passwords he accessed"

Really? What if s/he just decrypted the file themselves and had a look at the content, rather than using the convenient wrapper that a password manager provides?

jbg_··on Show HN: Eul – a lightweight desktop client for Skype, Slack, Gmail, and more
Somehow I missed the mention of Jabber, but I think I was only looking at the list of protocols that are already supported.
jbg_··on Fuse
Scrolled down to the first code sample and had terrifying flashbacks to ColdFusion.
jbg_··on Show HN: Eul – a lightweight desktop client for Skype, Slack, Gmail, and more
There is no mention of this supporting XMPP, but I use profanity for XMPP, and love it. The fact that it's a console application may or may not suit your tastes, of course.
jbg_··on I mean, why not tell everyone our password hashes?
It's not quite that simple. The RIPE database stores mostly administrative information, and doesn't _directly_ affect Internet routing.

In order to "steal" IP addresses (get them routed to you) you would need to buy a connection to at least one exchange point, probably several if you want all the traffic for the target to route to you and not just some traffic from some networks. You'd need to buy rackspace somewhere with a connection to the exchange point, install routers, establish BGP peerings with the exchange point (if they're doing route reflection) or with all the other major networks at the exchange.

There are multiple steps along the way where humans would look at the prefixes you were going to be announcing. This would include looking them up in RIPE, but anything more than a cursory inspection would likely reveal your ruse.

At this point it becomes more of a social engineering attack, and even if you got as far as announcing it, there are things like BGPMon that would pick up the fraudulent announcement pretty quickly and you'd likely find that the cable was pulled out of your router pretty fast.

jbg_··on Reverse Engineering One Line of JavaScript
Unfortunately, it's not actually an initialiser. Type confusion is really common in Ruby programs, sadly.

The construct in parent assigns 1 if foo is "falsey", not strictly if it is nil. Even if foo is already initialised but contains a "falsey" value it will be assigned 1.

jbg_··on Ask HN: Why is Bluetooth so unreliable?
I know this is a little tangential, but this brought some simmering anger back to the surface. Just today I was trying to communicate with a bluetooth device that provides a serial channel.

Back in the day I used to just run "rfcomm bind <mac-address> <channel>". But it turns out BlueZ decided to deprecate (read: stop building by default) the rfcomm command in favour of... wait for it... a barely-documented D-Bus interface.

How much do you have to hate your users before you decide to take away a useful, functional executable and replace it with an unspecified interface over D-Bus that requires hours of research to use rather than 30 seconds of reading a manpage?

jbg_··on SFO near miss might have triggered aviation disaster
I'm inclined to agree with you. Airports tending to be full of hyper-aware pilots who are communicating on the same radio frequencies as you shouldn't really be considered a safety margin, but it can still prevent accidents sometimes.

Incidentally, Aviation Herald reports[1] that "AC-759 had already overflown taxiway C by about 0.25nm when ATC instructed the aircraft to go around" and further that "it is estimated that AC-759 overflew the first two aircraft by 100 feet".

100 feet isn't much, and I imagine this was utterly terrifying for the pilots lined up on the taxiway, but 0.25nm past the beginning of taxiway C is basically touchdown point on the runway (had they been lined up with it), and they were still 100 feet above the ground. That indicates pretty strongly that the pilot of AC-759 had noticed their mistake and was taking evasive action already, before ATC instructed them to go around.

[1] https://avherald.com/h?article=4ab79f58&opt=0

jbg_··on SFO near miss might have triggered aviation disaster
* Conditions were clear. The pilot landing would likely have seen the aircraft on the ground in plenty of time to go around.

* Conditions were clear. The pilot landing would have an increasing probability of noticing their mistake from lights on the runway and taxiway as they got closer to landing.

* After being alerted that the pilot landing could see lights on what they thought was the runway, the ATC would likely have paid closer attention to the various tools available to them to see the location and heading of the aircraft.

And finally, the one factor that happened to be the first of these to happen:

* Multiple pilots looking directly toward the oncoming aircraft, one of whom alerted ATC.

Just because this happened first doesn't mean the other things failed or wouldn't have happened.

jbg_··on Two-factor authentication is a mess
I've finally arrived at a pretty comfortable 2FA setup: A Yubikey Neo for TOTP, so I can get codes on any of my devices (including my smartphone via NFC), and a dedicated dumbphone with a worldwide roaming SIM in it where SMS works (and is dirt cheap to receive) no matter where in the world I am.

I still much prefer TOTP whenever possible as the phone is potentially vulnerable to social engineering against the SIM provider.

jbg_··on 24-core CPU and I can’t move my mouse
How is ABI compatibility with early systems the cause of this bug? You'll note that it wasn't present in Windows 7.
jbg_··on Photos of Mosul 2017
I think you have some malware on your device; closing all other tabs isn't something a website should be able to do.
jbg_··on US Lifts Laptop Ban on Etihad, Emirates and Turkish Airlines
I know some (maybe even most) of the affected airlines have significant government ownership. It could therefore be a way of gaining political leverage.

It could also be a leg-up to American carriers competing on those routes. Another commercial option is a tactic to require implementation of security practices that involve American-made equipment.

I'm sure there are many other possibilities that make more sense than the public explanation, which only seems to make sense if we assume the people protecting us are incredibly stupid. I don't think they are, so the public story is probably just a cover.

jbg_··on US Lifts Laptop Ban on Etihad, Emirates and Turkish Airlines
Let's see... they developed a way to hide a bomb powerful enough to bring down an airliner inside a laptop, but not a way to buy tickets for flights other than a few specific routes on a few specific airlines? If you believe that, I've got a bridge to sell you.
jbg_··on Customer's 20-year-old email account shut down over unusual address
History is full of wildly popular things that became irrelevant. Gmail will certainly join that list one day.
jbg_··on Customer's 20-year-old email account shut down over unusual address
Even Nissan has a registrar, although I imagine the bill would have to get quite overdue before they'd consider canceling their domain name.
jbg_··on Customer's 20-year-old email account shut down over unusual address
Yes, I believe that is what parent was calling foolish.
jbg_··on Magic-Wormhole – Get things from one computer to another, safely
Depends. Do you trust Google?
jbg_··on Updates for older platforms to protect against potential nation-state activity
If the actual X-ray machine itself is running Windows XP...

I suddenly feel less good about my next dentist appointment.

jbg_··on Apple’s Guidelines Now Allow Executable Code in Educational Apps and Dev Tools
I'm running a CopperheadOS that I built myself with microG added, and I've found it implements enough of the Google services (including push and SafetyNet) that everything I care about works well, including banking apps. YMMV.
jbg_··on Apple’s Guidelines Now Allow Executable Code in Educational Apps and Dev Tools
I'm not sure if you were being sarcastic, but there is: it's called Xcode.
jbg_··on Please Make Google AMP Optional
I started using a self-hosted searx[1] instance recently, and I highly recommend it if you'd prefer to not have to care about this nonsense.

It's the first time I've found an alternative to google.com that is actually usable (i.e. I find what I'm looking for near the top of the first results page every time I make a search).

You can use Google as one of the results providers, but you won't see any AMP results, and since searx can mix in results from Stack Overflow etc, you might find that a different search engine than Google still gets you good results.

I think Google would pull fewer of these monopolistic tricks if people would realise they have genuine alternatives.

[1] https://github.com/asciimoo/searx

jbg_··on A Study That Bolsters the Lead-Crime Hypothesis
Can anyone explain to me why the group that had high exposure but an intervention that reduced their exposure to about 5 on the graph, has much lower violent crime levels than the group that had an exposure of around 5 and no intervention?
← PreviousPage 3 of 5Next →