freeipa/util
Slava Aseev 4c0398433e ipa-kdb: handle dates up to 2106-02-07 06:28:16
krb5 uses the negative part of krb5_timestamp to store time values
after 2038:
https://k5wiki.kerberos.org/wiki/Projects/Timestamps_after_2038
In other words, krb5 uses krb5_timestamp (signed int) with
unsigned arithmetic for expanding the timestamp's upper bound.

This commit:
  - adds some helper functions for working with krb5_timestamp as
    unsigned (actually copied from
    https://github.com/krb5/krb5/blob/master/src/include/k5-int.h)
  - replaces operations with krb5_timestamp's by these new functions

Fixes: https://pagure.io/freeipa/issue/8028
Signed-off-by: Slava Aseev <ptrnine@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Robbie Harwood <rharwood@redhat.com>
2020-12-18 20:38:40 +02:00
..
ipa_hostname.c Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa_hostname.h ipa_sam: do not modify static buffer holding fqdn 2020-10-26 17:11:19 +11:00
ipa_krb5.c CVE-2020-1722: prevent use of too long passwords 2020-04-14 12:36:01 +03:00
ipa_krb5.h ipa-kdb: handle dates up to 2106-02-07 06:28:16 2020-12-18 20:38:40 +02:00
ipa_ldap.c Print LDAP diagnostic messages on error 2020-01-17 15:47:00 +01:00
ipa_ldap.h Print LDAP diagnostic messages on error 2020-01-17 15:47:00 +01:00
ipa_mspac.h Migrate from #ifndef guards to #pragma once 2016-05-29 14:04:45 +02:00
ipa_pwd_ntlm.c covscan: free ucs2-encoded password copy when generating NTLM hash 2019-11-29 11:14:18 +01:00
ipa_pwd.c util: Fix client-only build 2020-11-18 16:23:05 +02:00
ipa_pwd.h ipa-kdb: handle dates up to 2106-02-07 06:28:16 2020-12-18 20:38:40 +02:00
Makefile.am util: Fix client-only build 2020-11-18 16:23:05 +02:00
t_policy.c Add a unit test for libpwquality-based password policy 2020-10-23 09:32:52 -04:00
t_pwd.c util: add unit test for pw hashing 2020-06-08 12:54:19 +03:00