History log of /sssd/src/util/crypto/sss_crypto.c
Revision Date Author Comments Expand
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>