[Freeipa-devel] [PATCH 021] Validate vault's file parameters

Christian Heimes cheimes at redhat.com
Thu Jul 30 13:54:46 UTC 2015


The patch fixes the issue described in #5155 as well as a couple of more
potential issues. The vault plugin didn't catch IOError on multiple
occasions.

A user can pass file names for password, public and private key files to
the vault plugin. The plugin attempts to read from these files. If any
file can't be, an internal error was raised. The patch wraps all reads
and turns any IOError and UnicodeError into a ValidationError.

https://fedorahosted.org/freeipa/ticket/5155
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-cheimes-0021-Validate-vault-s-file-parameters.patch
Type: text/x-patch
Size: 4884 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150730/043556c6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150730/043556c6/attachment.sig>


More information about the Freeipa-devel mailing list