chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] user-information update for OpenBSD


From: Christian Kellermann
Subject: Re: [Chicken-hackers] user-information update for OpenBSD
Date: Tue, 19 Jul 2016 10:06:46 +0200
User-agent: Mutt/1.5.24 (2015-08-30)

* Timo Myyrä <address@hidden> [160719 09:20]:
> Hi,
>
> OpenBSD-current was changed so that shadow database isn't opened by default 
> anymore:
> http://article.gmane.org/gmane.os.openbsd.cvs/155646
>
> This affects calls to getpwnam and getpwuid functions which chicken uses for 
> the
> user-information procedure.
>
> I see two ways to fix this:
>
> 1) add defined(__OpenBSD__) checks to posixunix.scm to call the shadow 
> versions of
>    these functions if the encrypted password is really needed.
>
> or
>
> 2) add note to user-information that the OpenBSD doesn't provide the encrypted
>    password and check if any eggs depend on having the password.

Maybe it makes sense to split out the sensitive information from the
user-information for all Operating systems and thinking of another set
of procedures that will produce the credentials. These can then use OS
specific functions to get at the information.

What do you think?

Christian

--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.



reply via email to

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