[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: |
Thu, 23 Mar 2006 12:19:43 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Elrond <address@hidden> writes:
> On Thu, Mar 23, 2006 at 11:51:38AM +0100, Simon Josefsson wrote:
> [...]
>> Oops, agreed.
>>
>> > I don't know, what the right way out of this is.
>> > Maybe Shishi_key should know the salt, maybe
>> > shishi_key_from_name should output the salt. I don't know,
>> > really.
>>
>> It seems better to separate this, I've created:
>>
>> int
>> shishi_derive_default_salt (Shishi * handle,
>> const char *name,
>> char **salt)
>>
>> Which shishi_key_from_name and shisa.c now use.
>>
>> As a result, shisa.c doesn't use shishi_key_from_name any more, but
>> that API may be useful anyway, so I'll keep it.
>>
>> What do you think?
>
> Looks mostly good. :)
>
> shishi_derive_default_salt() should free(principal);
> free(realm); at the end. :-)
Fixed, thanks.
> shisa.c hasn't yet made it into viewcvs, will look at it
> later then.
I synced the public cvs now, it should be up to date.
/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 <=
- Re: shisa API for setting password in plaintext, Elrond, 2006/03/23