summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-10-18 21:58:39 -0400
committerDante Catalfamo2021-10-18 21:58:39 -0400
commit9288da5768fdc2fb543e51757218f6c813a4322c (patch)
tree96f2f03d5e75893f7dbe69651b33fa64c4b3ec30
parent894afa96cd14a84cd1a1bcfb9523f10210aebb7c (diff)
downloadblog-9288da5768fdc2fb543e51757218f6c813a4322c.tar.gz
blog-9288da5768fdc2fb543e51757218f6c813a4322c.tar.bz2
blog-9288da5768fdc2fb543e51757218f6c813a4322c.zip
bsd-auth: Final touch to description, comment for auth_userresponse
-rw-r--r--content/posts/how-bsd-authentication-works/index.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/content/posts/how-bsd-authentication-works/index.org b/content/posts/how-bsd-authentication-works/index.org
index f0623c2..52726c4 100644
--- a/content/posts/how-bsd-authentication-works/index.org
+++ b/content/posts/how-bsd-authentication-works/index.org
@@ -2,7 +2,7 @@
#+DATE: 2021-10-18T17:27:13-04:00
#+DRAFT: true
#+SHOWTOC: true
-#+DESCRIPTION: A walkthrough of how OpenBSD's BSD Auth framework functions
+#+DESCRIPTION: A walkthrough of OpenBSD's BSD Authentication framework
#+TAGS[]: openbsd security
#+KEYWORDS[]: openbsd security
#+SLUG:
@@ -1979,6 +1979,9 @@
might be used in cases where the user is using S/KEY authentication
over SSH.
+ [[#auth_userresponse][=auth_userresponse=]] is then used to check the validity of the user's
+ response.
+
A fair portion of this function is very similar to
[[#auth_usercheck][=auth_usercheck=]]. Instead of having a password argument however, it
has a pointer to string, which is used to return the challenge to
@@ -2159,9 +2162,9 @@
#+end_src
@@html: </details> @@
- [[https://man.openbsd.org/man3/authenticate.3#auth_userresponse][=auth_userresponse=]] is used to pass the user's response from
- [[#auth_userchallenge][=auth_userchallenge=]] back to the authentication module. Similar to
- =auth_userchallenge=, it is also a front-end for [[#auth_call][=auth_call=]].
+ [[https://man.openbsd.org/man3/authenticate.3#auth_userresponse][=auth_userresponse=]] is used to pass the user's session and response
+ from [[#auth_userchallenge][=auth_userchallenge=]] back to the authentication module. Similar
+ to =auth_userchallenge=, it is also a front-end for [[#auth_call][=auth_call=]].
If =as= is =NULL=, =0= is returned.