summaryrefslogtreecommitdiffstats
path: root/content/posts/how-bsd-authentication-works/index.org
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/how-bsd-authentication-works/index.org')
-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.