Two factor authentication with OTP – as provided by YubiKey – makes you sleep well at night again.
I recently figured that these substantially increase your password security – with what you know and what you have. They are very easy integrated into PAM – and the good news is most services on Linux can be configured to use PAM as an authentication source.
SSH, Dovecot, Apache… no problems.
The good thing is, these tokens are not expensive at all – 25 USD and they are yours or for 10 USD more you can even get one with RFID integrated. What more do you want?
Unfortunately still, there are only a few websites what are supporting these tokens, there are certainly plugins for some web applications like WordPress or SqurirrelMail. These are what I know of, there a certainly more.
I wrote a short article about these nearly 2 years ago – you can find it here.
I recently got this T-Shirt on Hurricane Electric’s website:
And also this coffee mug:
I have to add a correction to my previous article “Enabling HSTS on nginx“:
You can and should enable it on http as well, so that visitors of your website offer from this additional security benefit as well – when they come back.
If you get this message, you have to change your “listen” statement from
listen [2a01:348:226:dead:beef:dead:beef:dead]:443 ipv6only=on;
For some add reason the first statement (without “ipv6only”) was working for me for some time… odd.
If you want to enable HSTS on your nginx webserver, this is how you do it:
add_header Strict-Transport-Security "max-age=315360000; includeSubdomains";
You need to put this only on the https server, not on the http only server – it wont work on http only.