freeipa/ipatests/test_cmdline
Christian Heimes 53e0b2255d ipa-getkeytab: resolve symlink
Resolve one level of symbolic links to support a dangling symlink as
keytab target. To prevent symlink attacks, only resolve symlink when the
symlink is owned by the current effective user and group, or by root.

Fixes: https://pagure.io/freeipa/issue/4607
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-01-30 08:06:02 +01:00
..
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
cmdline.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_cli.py Fix test_cli_fsencoding on Python 3.7, take 2 2018-11-08 16:03:21 +01:00
test_help.py Address inconsistent-return-statements 2018-11-13 13:37:58 +01:00
test_ipagetkeytab.py ipa-getkeytab: resolve symlink 2019-01-30 08:06:02 +01:00