[Top][All Lists]

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

Re: [Artanis] Using #:auth to Authenticate a User

From: Nala Ginrut
Subject: Re: [Artanis] Using #:auth to Authenticate a User
Date: Fri, 14 Sep 2018 16:14:40 +0800
User-agent: mu4e 1.1.0; emacs 25.1.1

Nala Ginrut writes:

> I think your problem is lacking of
> ------------------------------------
> #:from-post #t
> ------------------------------------

Oops, I'm sorry to point a wrong way.
In authentication module, it will handle posted data independently. So
#:from-post is unecessary here.

I've checked the auth process again, it seems no problem. The HMAC
function operates on both user input password and stored salt, then
compare to the stored-password.

For the error line:
(string=? "e5f58613c328a069892ad68fe98002b559fa6d75526…" #f)

Please notice that the first string "e5f58..." is the HMAC result from
user input password and salt, the second string is the stored password
fetched from the DB.

Could you check it again?

Best regards.

GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

Attachment: signature.asc
Description: PGP signature

reply via email to

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