Closed yifanluo2006 closed 2 months ago
Thanks for the report, @yifanluo2006 This program has not been designed to be run stand-alone but only within the test harness, more specifically test_mem.py.
If you see a need for it to run independently, please, by all means provide a PR (and accompanying documentation) to improve this -- while maintaining the semantics allowing CI (incl. the above test script) to keep working OK.
Closing as this is intended behaviour as noted in https://github.com/open-quantum-safe/liboqs/issues/1885#issuecomment-2277227182. If change in behaviour is desired, please follow up with a PR to improve.
Describe the bug When attempting to run test_kem_mem or test_sig_mem encapsulation/sign or decapsulation/verify, an error is returned stating cannot read tmp file for reading. To Reproduce Steps to reproduce the behavior:
Note that this apply to any kem or sig algorithm
Expected behavior "Couldn't open tmp/oqs-temp-file-BIKE-L1pk for reading."
Screenshots
Environment (please complete the following information):
Additional context This can be resolved by writing another script to manually generate and save the tmp files; however, this is rather tedious