History log of /sssd-io/src/util/crypto/sss_crypto.c
Revision Date Author Comments Expand
8890a30f5d054187fd7d5b50503f82a49cd025f0 08-Jun-2017 Lukas Slebodnik <lslebodn@redhat.com>

UTIL: Remove fcntl.h from util/util.h fcntl.h is not used directly by util/util.h. The header file fcntl.h must be included in 49 files and after removing it from util.h it had to be added only to 7 missing file which were using either directly syscall fcntl or syscall open. Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>

b3a22ee1d91aa4ed1544475be16ec2b7cf886180 17-Aug-2016 Jakub Hrozek <jhrozek@redhat.com>

UTIL: Use sss_atomic_read_s in generate_csprng_buffer There was a bug in generate_csprng_buffer() where if we read the exact amount of bytes from /dev/urandom, we would always return EIO. Instead, let's reuse the existing code from sss_atomic_read_s() which fixes this bug and reduces code duplication. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Fabiano Fidêncio <fabiano@fidencio.org>

625bb2ddf15e8f305a53afa44e87f2146fa930af 29-Jun-2016 Simo Sorce <simo@redhat.com>

Secrets: Add encryption at rest Generates a master key file if it doesn't exist and encrypts secrets using the master key contained in the file. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>