OpenSSH 6.5 Released
openssh.org
openssh.org
* ssh(1): Add a ssh_config(5) "Match" keyword that allows
conditional configuration to be applied by matching on hostname,
user and result of arbitrary commands.
* ssh(1): Add support for client-side hostname canonicalisation
using a set of DNS suffixes and rules in ssh_config(5). This
allows unqualified names to be canonicalised to fully-qualified
domain names to eliminate ambiguity when looking up keys in
known_hosts or checking host certificate names.A lot to like in this.
If I'm home, I want to be able to ssh to the gateway machine automatically and when I'm at work, go direct.
Obviously, this can be fixed with a shell script but it's hacky.
I'm not saying DH/DLP is broken, but the NSA declines to include non-EC DH (or RSA, for that matter) in their Suite B of algorithms approved for internal applications. It's nice to have the option of ECDH for day to day use.
We made a Suite B implementation for TPM's (where smaller key sizes are very very important).
https://listserv.nodak.edu/cgi-bin/wa.exe?A2=NMBRTHRY;23651c...
This is pretty important to me: Keys are much less of a hazard if taken off a stolen laptop/disk.
One can use any cryptographically secure (output indistinguishable from random, infeasible to predict input given output, et c) hash as a KDF but the faster it is to run, the more per second an attacker can try when attempting to bruteforce your password/phrase after stealing your private key in its encrypted, on-disk format.
bcrypt is a function that is specifically designed to be somewhat time consuming to calculate (with a variable difficulty argument to the function itself), to reduce the bruteforce rate (in normal use, it's only run once or twice, once for each password input). Its cousin scrypt was specifically designed to also require a fair bit of memory to calculate, as well, reducing effective parallelism in fpga/asic implementations as the memory circuits must be included as well.
The difference between one <1ms hash and 100ms hash doesn't much matter to a user, but is the difference between a 10-char password being feasibly bruteforceable or not on dedicated hardware where you have to run 256^10 iterations. It adds up fast.
My ssh private key password is 8 chars that match [a-z0-9]. This matters a lot.
The NIST competition process of favoring performant algorithms is not always in the interests of users because it means it's cheaper to bruteforce/crack.
Multiple layers of security are always good!
You're totally right. Do we know why it hasn't been, yet (if indeed I am misremembering)?
Searching around on the -misc archives, djm claims performance improvements similar to HPN and declares no interest in implementing the NONE cipher(no encryption after authentication).
One wonders where the kickstarter to get a proper time- and memory- hard KDF patched into GnuPG is? It's not even really that much of a compatibility issue, either (unless you are sharing private key files between many machines)...
You'd really think the tinfoil-hat paranoids that (until Snowden) comprise(d) the bulk of the pgp userbase would care about the keys used to keep their log-term keys on disk private. I was flabbergasted to see the (relatively) tiny number of iterations in use in the GnuPG kdf.
I got an extension to John the Ripper that supports Gnu PGP keys and built a dictionary of permutations of words that I think I could have used in the passphrase.
I got nowhere. In this case, a passphrase > 20 characters was unbreakable to someone with modest computing power and an appropriate dictionary.
Edit: I did not save a revoke certificate because the Sonatype instructions did not include this step.
Please use bcrypt on your new key, the one you will be writing down the password to ;)
Does anyone know offhand why ChaCha was chosen instead of XSalsa20, which is used in NaCl?
https://en.wikipedia.org/wiki/ChaCha20
Also used in:
https://tools.ietf.org/id/draft-agl-tls-chacha20poly1305-04....
EDIT found a better one: http://www.ietf.org/mail-archive/web/tls/current/msg10630.ht...
https://github.com/steakknife/openssh/tree/apple-osx-openssh...
Update: it doesn't build yet, minor patch issue will fix tomrw.
Update 2: Fixed building, no warranty.
I'll refactor into patches, will be much simpler to validate.
* sshd(8): Add support for pre-authentication sandboxing using the Capsicum API introduced in FreeBSD 10.
Capsicum is a nice way to drop privs that shipped in FreeBSD 10 and is also being worked on for Linux.