[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shisa API for setting password in plaintext
From: |
Simon Josefsson |
Subject: |
Re: shisa API for setting password in plaintext |
Date: |
Wed, 22 Mar 2006 16:55:03 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Elrond <address@hidden> writes:
> On Wed, Mar 22, 2006 at 10:11:05AM +0100, Simon Josefsson wrote:
> [...]
>> See src/shisa.c for an example. You'll have to compute the salt
>> yourself, e.g. like this:
> [...]
>
> Yeah, I saw that code and wondered, that it should be put
> in a library.
Sounds like a good idea.
>> Given that deriving the salt is non-trivial, I agree that there should
>> be some helper API that does this step for you (and even does it
>> correctly as well, a proper principal parser exists in libshishi).
> [...]
>
> Do we have a chance of getting the (not yet correct) one
> into the library, so that the API is there and apps at
> least start using a consistent salt generation?
I've created shishi_key_from_name:
int
shishi_key_from_name (Shishi * handle,
int32_t type,
const char *name,
const char *password, size_t passwordlen,
const char *parameter, Shishi_key ** outkey)
Which even does this step correctly. Shisa now use this API.
Thanks,
Simon
- shisa API for setting password in plaintext, Elrond, 2006/03/21
- Re: shisa API for setting password in plaintext, Simon Josefsson, 2006/03/22
- Re: shisa API for setting password in plaintext, Elrond, 2006/03/22
- Re: shisa API for setting password in plaintext, Elrond, 2006/03/22
- Re: shisa API for setting password in plaintext, Simon Josefsson, 2006/03/23
- Re: shisa API for setting password in plaintext, Elrond, 2006/03/27
- Re: shisa API for setting password in plaintext, Simon Josefsson, 2006/03/23
- Re: shisa API for setting password in plaintext, Elrond, 2006/03/23