Thanks for the quick update!

One more nitpick question: will the test be stable on slow/heavily
loaded buildfarm animals?

+SET statement_timeout = '1s';
+SELECT crypt('password', '$5$rounds=4294967295$saltsalt$');
+NOTICE:  rounds=4294967295 exceeds maximum supported value
(999999999), using 999999999 instead
+ERROR:  canceling statement due to statement timeout
+SELECT crypt('password', '$5$rounds=4294968296$saltsalt$');
+NOTICE:  rounds=4294968296 exceeds maximum supported value
(999999999), using 999999999 instead
+ERROR:  canceling statement due to statement timeout
+SELECT crypt('password', '$5$rounds=99999999999999999999$saltsalt$');
+NOTICE:  rounds=9999999999... exceeds maximum supported value
(999999999), using 999999999 instead
+ERROR:  canceling statement due to statement timeout
+RESET statement_timeout;

If the query gets killed before px_crypt_shacrypt runs, it won't
generate that notice, and the test run will fail with an output
difference.


Reply via email to