[389-devel] Please review: [389 Project] #533: only scan for attributes to decrypt if there are encrypted attrs configured

Noriko Hosoi nhosoi at redhat.com
Sat Jan 26 01:31:30 UTC 2013


https://fedorahosted.org/389/ticket/533

https://fedorahosted.org/389/attachment/ticket/533/0001-Ticket-533-only-scan-for-attributes-to-decrypt-if-th.patch

  Bug description: When an internal entry is created in id2entry,
  all attributes are scanned in attrcrypt_decrypt_entry() and
  checked if they need to be decrypted regardless of SSL configured
  on the server or not.

  Fix description: In attrcrypt_encrypt_* and attrcrypt_decrypt_*
  functions, this patch checks the attrcrypt_configured flag.
  It goes scanning the attribute list only when the encrypt_
  configured flag is set to true.



More information about the 389-devel mailing list