Re: Pin generation algorithm question
From: Peter Fairbrother (zenadsl6186_at_zen.co.uk)
Date: 04/24/04
- Next message: Tom St Denis: "Re: RSA signature"
- Previous message: James Muir: "Re: RSA signature"
- In reply to: Ernst Lippe: "Re: Pin generation algorithm question"
- Next in thread: Ernst Lippe: "Re: Pin generation algorithm question"
- Reply: Ernst Lippe: "Re: Pin generation algorithm question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 24 Apr 2004 21:15:25 +0100
Ernst Lippe wrote:
> On Sat, 24 Apr 2004 02:48:21 +0100, Peter Fairbrother wrote:
>> You have to have a big, valuable target somewhere, you can't avoid it. How
>> are keys better?
>
> There is a major difference between securing an entire database and
> securing a single key.
You have to secure a number of keys in this instance, not a single key. Not
that it makes much difference.
If you want to use crypto hardware, you can use the hardware to encrypt the
tokens in the database with a secret key cipher, or better a keyed hash, and
encrypt/hash then check requests. The database does not require secrecy,
even if it is a database of tokens in issue.
All the authentication server does is accept a request, check to see whether
it (or it's hash) is are on the list, and answer "yes" or "no". Plus keep
non-secret logs. When new tokens are required, they (or their hashes) are
added to the list. You can just do that in secure hardware, or you can use
crypto modules if you prefer.
> When the load of the system is too high for any single server
Ain't going to happen. The average rate is about 2 authentication requests
per second. An authentication request is a few cycles and a lookup, and you
could do a whole lot of those in a second with a P133.
You might want a few servers to handle the request traffic, but not the
authentication, which should be done on one dedicated secure server only.
> Also for
> disaster recovery, you will need another set of hot stand-by servers at a
> different location.
Keep a backup list of issued tokens in a bank vault, and an updated list of
used tokens (the authentication server's log) somewhere offsite. In a
disaster you accept all requests (unless the rate gets abnormally high)
until you can get to the bank and regenerate the list.
-- Peter Fairbrother
- Next message: Tom St Denis: "Re: RSA signature"
- Previous message: James Muir: "Re: RSA signature"
- In reply to: Ernst Lippe: "Re: Pin generation algorithm question"
- Next in thread: Ernst Lippe: "Re: Pin generation algorithm question"
- Reply: Ernst Lippe: "Re: Pin generation algorithm question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|