Re: two factor authentication

This is a discussion on Re: two factor authentication within the OpenSSH Development forums, part of the Networking and Network Related category; On 2006-07-23 01:27, Frank Cusack wrote: > On July 22, 2006 7:08:59 PM -0500 jacob ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-23-2006
Jefferson Ogata
 
Posts: n/a
Default Re: two factor authentication

On 2006-07-23 01:27, Frank Cusack wrote:
> On July 22, 2006 7:08:59 PM -0500 jacob martinson <martinson.jacob@gmail.com> wrote:
>> On 7/22/06, Frank Cusack <fcusack@fcusack.com> wrote:
>>> On July 22, 2006 12:15:07 PM -0500 jacob martinson <martinson.jacob@gmail.com> wrote:
>>>> Are there any plans on the table to add native support for two-factor
>>>> authentication, such as password *and* public key?
>>> You can already do that. Public key is itself already 2-factor --
>>> something you know (the pin/passcode) and something you have (the
>>> device on which the public key resides). Password, via PAM or BSDAUTH,
>>> allows any two factor device the host (server) system supports.
>>>

>> You can? How can you configure ssh to require both successful
>> password authentication (via the underlying OS password verification
>> mechanisms) and public key auth before the user is allowed onto the
>> system?

>
> Sorry, I meant you can already do native 2-factor auth via publickey
> or via password alone.


Calling public-key "2-factor" is just spin.

1. You can't force people to put a passphrase on their private key.

2. You can't keep people from storing the key in ssh-agent.

3. If the private key--the actual factor--is compromised, it doesn't
matter if someone originally had a passphrase on it.

The point of multiple factors is to have a backup in case one of the
factors is compromised.

Some time back I wrote a patch to allow sshd to require multiple
authentication passes to succeed, so, e.g. public key could be combined
with s/key to achieve something like two-factor without a smartcard;
here the thing you have is the piece of paper with the one-time
passwords written on it, and if it falls out of your pocket at the
convenience store, it presents no threat by itself because there's a
keypair somewhere that's also needed; conversely if your keypair is
compromised that doesn't give the intruder access to your pocket.

There are other patches out there that are better than my little hack. I
would look into that.

> You are correct, for files on disk. But publickey can also be used
> with smartcards and via control of authorized_keys or using X.509
> (there's a patch for that) you can restrict to keys known to be
> protected by a pin/passphrase.


How?

--
Jefferson Ogata <Jefferson.Ogata@noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt@noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0