help-shishi
[Top][All Lists]
Advanced

[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 17:35:34 +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 04:55:03PM +0100, Simon Josefsson wrote:
> [...]
>> 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.
>
> Cool.
>
> I reviewed shishi_key_from_name and
> a) learned a bit about the keymanagment in shishi.

Always good. ;)

> b) noticed a memleak on realm, principal, and salt in it.

Oops!  Fixed.

> c) Is it a good idea to call shishi_key_realm_set() and/or
>    shishi_key_principal_set()?

Definitely, thanks.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]