)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"b9f79eab0cd39ec9a80e2d9098198ab2d3155008","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"a679f13d_07391aeb","updated":"2022-06-30 15:15:09.000000000","message":"Clean cherry-pick, minimal chance of introducing new issues. Do we have any more info on when/why this causes issues? I seem to remember looking into it a little, but I couldn\u0027t actually repro the problem...\n\nOn a related note, do we know what\u0027s up with the non-voting FIPS job that\u0027s failing?","commit_id":"00763d5a00896a28b6665e88f9ea4d4a9fb50a83"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"8ae6cca16221a8199890b97a4b1c1c02998c3e63","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"0c8765ac_aec49a8c","in_reply_to":"73a7477b_7d235df2","updated":"2022-06-30 20:11:28.000000000","message":"Got it, thanks! I think I was only testing on CentOS Stream 8.","commit_id":"00763d5a00896a28b6665e88f9ea4d4a9fb50a83"},{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"61609d31d8c98c10bcace467e84c008415acdf42","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":3,"id":"73a7477b_7d235df2","in_reply_to":"a679f13d_07391aeb","updated":"2022-06-30 17:42:08.000000000","message":"Thanks Tim!\n\nThis causes issues if you run Swift on RHEL9/CentOS Stream 9 with FIPS enabled. In that case any tempurl fails with sth like this:\n\n    _hashlib.UnsupportedDigestmodError: Unsupported digestmod functools.partial(\u003cfunction __hash_new at 0x7f90e78f11f0\u003e, \u0027sha1\u0027)\n\nThe easiest way to reproduce this is to launch a CentOS Stream 9 VM, enable FIPS (\"fips-mode-setup --enable \u0026\u0026 reboot\") and run the following code:\n\n    import hashlib\n    import hmac\n    import functools\n    \n    key \u003d \"mykey\".encode(\u0027utf8\u0027)\n    msg \u003d b\"hello world\"\n    \n    digestmod \u003d functools.partial(hashlib.new, \"sha1\")\n    print(hmac.new(key, msg, digestmod).hexdigest())\n\nThe failing non-voting FIPS job looks like a deployment issue, will look into this.","commit_id":"00763d5a00896a28b6665e88f9ea4d4a9fb50a83"}]}
