source: openpam/trunk/lib

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @902   4 years Dag-Erling Smørgrav Correctly compare the return value from pam_get_item() to PAM_SUCCESS …
(edit) @890   5 years Dag-Erling Smørgrav Bump dates if required on files modified in 2014 or later.
(edit) @887   5 years Dag-Erling Smørgrav Note that the secret should also be percent-encoded.
(edit) @886   5 years Dag-Erling Smørgrav Fix parsing of percent-encoded URIs.
(edit) @881   5 years Dag-Erling Smørgrav Fix off-by-one bug: we forgot to account for the terminating NUL when …
(edit) @879   5 years Dag-Erling Smørgrav Fix rather embarassing #if nesting error in previous commit.
(edit) @878   5 years Dag-Erling Smørgrav Coverity Scan doesn't like the no-op default case, so hide it when …
(edit) @877   5 years Dag-Erling Smørgrav Plug potential memory leak reported by Coverity Scan. I'm not sure it …
(edit) @876   5 years Dag-Erling Smørgrav Don't forget to free the line we read from the key file.
(edit) @872   5 years Dag-Erling Smørgrav Add missing third clause.
(edit) @865   5 years Dag-Erling Smørgrav intptr_t requires <stdint.h>
(edit) @862   5 years Dag-Erling Smørgrav Add a feature flag to control whether to fall back to the "other" …
(edit) @861   6 years Dag-Erling Smørgrav Fully fix the input overflow bug and add a test case for it.
(edit) @858   6 years Dag-Erling Smørgrav Increment by three, not one, after successfully decoding a character. …
(edit) @854   6 years Dag-Erling Smørgrav Silence all remaining qual-cast warnings except in the test suite.
(edit) @849   6 years Dag-Erling Smørgrav Change the meaning of the window parameter to always indicate the …
(edit) @848   6 years Dag-Erling Smørgrav Consistently use UINT_MAX, not -1, to indicate an invalid response.
(edit) @846   6 years Dag-Erling Smørgrav Add an oath_mode(3) function which translates from mode names to numbers.
(edit) @843   6 years Dag-Erling Smørgrav Fix a few cases where we incorrectly (and needlessly) cast away const …
(edit) @839   6 years Dag-Erling Smørgrav Style nits
(edit) @834   6 years Dag-Erling Smørgrav Add configure options to build as much as possible using the system …
(edit) @833   6 years Dag-Erling Smørgrav Use $() instead of @@ in Makefiles. Don't build OATH man pages if …
(edit) @824   6 years Dag-Erling Smørgrav Remove unused variable.
(edit) @823   6 years Dag-Erling Smørgrav Compare the return value from mmap() to MAP_FAILED, not NULL.
(edit) @803   6 years Dag-Erling Smørgrav Introduce strlset(), a memset() variant for strings where the actual …
(edit) @802   6 years Dag-Erling Smørgrav From NetBSD: require at least one service function to have succeeded.
(edit) @799   6 years Dag-Erling Smørgrav Spell the name of the University of Oslo in English.
(edit) @795   6 years Dag-Erling Smørgrav In openpam_parse_chain(): 1. Finish a comment which was meant to …
(edit) @794   7 years Dag-Erling Smørgrav For TOTP keys, we record when the key was last used. For HOTP keys, …
(edit) @792   7 years Dag-Erling Smørgrav Support line continuation in whitespace.
(edit) @789   7 years Dag-Erling Smørgrav Fix headers
(edit) @788   7 years Dag-Erling Smørgrav I must have been drunk when I wrote this.
(edit) @786   7 years Dag-Erling Smørgrav Move oath_key_from_file() into a separate source file and document it.
(edit) @785   7 years Dag-Erling Smørgrav Missing word
(edit) @782   7 years Dag-Erling Smørgrav Don't forget do distribute oath_impl.h.
(edit) @779   7 years Dag-Erling Smørgrav When I changed the argument type from uint8_t * to char *, I forgot …
(edit) @777   7 years Dag-Erling Smørgrav Support (but ignore, for now) the issuer parameter.
(edit) @776   7 years Dag-Erling Smørgrav Encoder: - Return the desired length when the buffer is too small. …
(edit) @774   7 years Dag-Erling Smørgrav The dummy constants have moved to oath_constants.h. Add annotation …
(edit) @772   7 years Dag-Erling Smørgrav Switch from uint8_t to char.
(edit) @771   7 years Dag-Erling Smørgrav Replace base{32,64}_decode() with table-driven implementations. The …
(edit) @770   7 years Dag-Erling Smørgrav Fix base{32,64}_decode(). The former handled padding incorrectly; the …
(edit) @761   7 years Dag-Erling Smørgrav Fix a bug in the is_upper() macro. Submitted by: Larry Baird <lab@…>
(edit) @759   7 years Dag-Erling Smørgrav Add is_xdigit() predicate.
(edit) @758   7 years Dag-Erling Smørgrav Factor out and document oath_key_from_uri(). Implement …
(edit) @757   7 years Dag-Erling Smørgrav Bump copyright
(edit) @755   7 years Dag-Erling Smørgrav - The key length is in bytes, not bits, so the correct default is 20 …
(edit) @752   7 years Dag-Erling Smørgrav Add oath_key_create(3) which creates an OATH key from scratch.
(edit) @745   7 years Dag-Erling Smørgrav Currently, openpam_policy_path is a hardcoded array of short strings, …
(edit) @742   7 years Dag-Erling Smørgrav caught_signal should be static; gcc doesn't seem to mind, whereas some …
(edit) @730   7 years Dag-Erling Smørgrav Support storing the non-standard lastused parameter in a key URI. Also …
(edit) @729   7 years Dag-Erling Smørgrav Keep track of when a TOTP key was last used and prevent reuse of the …
(edit) @726   7 years Dag-Erling Smørgrav Use a dummy bit in the key structure instead of relying on the label.
(edit) @725   7 years Dag-Erling Smørgrav Use the defined constant.
(edit) @703   7 years Dag-Erling Smørgrav Don't log the text we read, it may contain sensitive information (such …
(edit) @699   7 years Dag-Erling Smørgrav Fixed flipped condition.
(edit) @696   7 years Dag-Erling Smørgrav Unfortunately, Linux doesn't have MAP_NOCORE.
(edit) @694   7 years Dag-Erling Smørgrav Rename oath_dummy_key() to oath_key_dummy() and move it into its own file.
(edit) @693   7 years Dag-Erling Smørgrav Record the last successful use of a TOTP key. Also add commented-out …
(edit) @690   7 years Dag-Erling Smørgrav The --with-modules-dir configure option never quite worked, and became …
(edit) @689   7 years Dag-Erling Smørgrav Factor out oath_key_{alloc,free}() and implement wiring / locking.
(edit) @688   7 years Dag-Erling Smørgrav INFTIM is a BSDism; use -1 instead.
(edit) @687   7 years Dag-Erling Smørgrav Reimplement, hopefully with marginally fewer bugs. There is an …
(edit) @686   7 years Dag-Erling Smørgrav Document that openpam_log(3) saves and restores errno(2).
(edit) @684   8 years Dag-Erling Smørgrav OPENPAM_DEBUG (--enable-debug) has a double action: it enables the …
(edit) @683   8 years Dag-Erling Smørgrav Log an error if open() failed for any other reason than ENOENT.
(edit) @682   8 years Dag-Erling Smørgrav Initialize has_ver and has_so to false, not true.
(edit) @681   8 years Dag-Erling Smørgrav Always restore errno before returning from openpam_log().
(edit) @679   8 years Dag-Erling Smørgrav Clean up and simplify dummy key handling.
(edit) @678   8 years Dag-Erling Smørgrav Set a reasonable, hard limit on label length. This removes the need …
(edit) @674   8 years Dag-Erling Smørgrav comment nit
(edit) @672   8 years Dag-Erling Smørgrav Make the .so suffix optional, so these three lines are now equivalent: …
(edit) @670   8 years Dag-Erling Smørgrav Document the effect of module options (echo_pass, *_prompt etc)
(edit) @667   8 years Dag-Erling Smørgrav Remove unneeded #include
(edit) @666   8 years Dag-Erling Smørgrav Add predicates for letters and digits.
(edit) @664   8 years Dag-Erling Smørgrav unbreak static linking
(edit) @662   8 years Dag-Erling Smørgrav Clean up the dynamic module loading code, and add support for the …
(edit) @661   8 years Dag-Erling Smørgrav nit: the argument is a module name, which may or may not be a path.
(edit) @660   8 years Dag-Erling Smørgrav Use dlfunc() if available; if not, fake it in terms of dlsym().
(edit) @659   8 years Dag-Erling Smørgrav Move openpam_policy_path into openpam_constants.c, and add a …
(edit) @655   8 years Dag-Erling Smørgrav Split up the liboath header files.
(edit) @654   8 years Dag-Erling Smørgrav Link with -lcrypto
(edit) @649   8 years Dag-Erling Smørgrav PAM_LOG_DEBUG -> PAM_LOG_LIBDEBUG
(edit) @648   8 years Dag-Erling Smørgrav prop sweep
(edit) @646   8 years Dag-Erling Smørgrav Reorganize: - move libpam into lib/libpam - move the OATH code into …
(edit) @636   8 years Dag-Erling Smørgrav Always use openpam_straddch(3) to bootstrap the string, even if we …
(edit) @635   8 years Dag-Erling Smørgrav Simplify by using openpam_straddch(3) to bootstrap the string.
(edit) @634   8 years Dag-Erling Smørgrav If ch == '\0', do not grow the string or advance the length counter, …
(edit) @631   8 years Dag-Erling Smørgrav Style nit
(edit) @630   8 years Dag-Erling Smørgrav PAM_SYSTEM_ERR is permissible here.
(edit) @629   8 years Dag-Erling Smørgrav Fix svn:ignore property.
(edit) @620   8 years Dag-Erling Smørgrav Use AM_CPPFLAGS instead of INCLUDES.
(edit) @619   8 years Dag-Erling Smørgrav I seem to have inadvertantly used a non-standard variation of the BSD …
(edit) @616   8 years Dag-Erling Smørgrav Move our strlcat() and strlcpy() implementations into .c files. Add …
(edit) @615   8 years Dag-Erling Smørgrav Forgot to include openpam_cred.h in distribution.
(edit) @614   8 years Dag-Erling Smørgrav Forgot to set svn:keywords.
(edit) @613   8 years Dag-Erling Smørgrav Define struct pam_saved_cred in a separate header.
(edit) @611   8 years Dag-Erling Smørgrav Fix a boneheaded error in the option copying loop that remained …
(edit) @608   8 years Dag-Erling Smørgrav set props
(edit) @607   9 years Dag-Erling Smørgrav More code that inexplicably builds on one dev box but not on others.
Note: See TracRevisionLog for help on using the revision log.