Complete
Details
Details
Assignee
Andrew Walker
Andrew WalkerReporter
Bug Clerk
Bug ClerkLabels
Time remaining
0m
Components
Priority
Katalon Platform
Katalon Platform
Created March 4, 2022 at 7:58 PM
Updated April 19, 2022 at 2:07 PM
Resolved March 8, 2022 at 3:29 PM
PR: https://github.com/truenas/middleware/pull/8444
Apart from having shared context (which is probably of negligable
benefit here). This also makes several changes to how webdav
config files are generated.
We now always ensure that password hashes are owned by webdav user and
permissions are 0o600 and use secrets.choice() rather than
random.choice() for generating hashes. A subprocess call to change
owner has also been replaced with shutil.chown(). Futher investigation
may be required in order to determine whether this chown call is
actually needed.