News for hackers. Stuff that matters.
Re:Matrix.org hacked by aidos on Friday April 12, 2019 @05:55AM (#19643468)
I never quite understand why there’s not a confirm version. ForwardWithConfirmation or something. I’m active when I need forwarding - would be happy to simply be prompted before it’s allowed.
Re:Matrix.org hacked by DblPlusUngood on Friday April 12, 2019 @06:15AM (#19643538)
OpenSSH does have confirmation: use the '-c' switch to ssh-add.

https://man.openbsd.org/ssh-add

Re:Matrix.org hacked by aquabeagle on Friday April 12, 2019 @11:15AM (#19645502)
Or "AddKeysToAgent confirm" in ~/.ssh/config
Re:Matrix.org hacked by aidos on Friday April 12, 2019 @07:13AM (#19643762)
Waaaaaaat?! That could definitely be better known.
Re:Matrix.org hacked by Arathorn on Friday April 12, 2019 @07:34AM (#19643853)
TIL :|
Re:Matrix.org hacked by acct1771 on Saturday April 13, 2019 @01:04AM (#19651205)
Hang in, there.
Re:Matrix.org hacked by felipelemos on Friday April 12, 2019 @06:35AM (#19643603)
This could be a sane default.
Re:Matrix.org hacked by e12e on Friday April 12, 2019 @10:35AM (#19645132)
Hm, anything similar for gpg agent (both for gpg, and as a stand-in for ssh-agent)?

Ed: looks like I need to edit my sshcontrol-file

https://www.gnupg.org/documentation/manuals/gnupg/Agent-Conf...

Re:Matrix.org hacked by Leace on Friday April 12, 2019 @06:05AM (#19643505)
If you use Yubikey with touch-to-use enabled that'll be basically what you're asking - each authentication will require touching the token.
Re:Matrix.org hacked by haasted on Friday April 12, 2019 @06:55AM (#19643695)
I just enabled that after seeing this incident.

For people in the same boat, it can be done trivially using the YubiKey Manager CLI: https://developers.yubico.com/yubikey-manager/

Re:Matrix.org hacked by rwmj on Friday April 12, 2019 @06:11AM (#19643520)
Some ssh agent implementations do this, notably the one built into Android ConnectBot can be configured to request confirmation each time it is asked to authenticate. Unfortunately ssh-agent (from OpenSSH) does not as far as I know. It's happy to authenticate as many times as requested without any notification.
Re:Matrix.org hacked by DBFFD990 on Friday April 12, 2019 @09:46AM (#19644718)
It can, and it's determined per key when added to the agent.

Look for -c here: https://man.openbsd.org/ssh-add

Re:Matrix.org hacked by rwmj on Friday April 12, 2019 @11:15AM (#19645508)
Indeed it is - I even checked the man page before posting the comment and completely missed that option.