Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

differential characteristics #10

Closed
nagendary opened this issue Nov 17, 2016 · 1 comment
Closed

differential characteristics #10

nagendary opened this issue Nov 17, 2016 · 1 comment

Comments

@nagendary
Copy link

nagendary commented Nov 17, 2016

# While executing cryptosmt, i used to get the following error. Can you please help me

python cryptosmt.py --inputfile examples/salsa20/testpath.yaml

Starting search for characteristic with minimal weight
salsa - Rounds: 3 Wordsize: 32

Weight: 0 Time: 0.0s
<open file 'tmp/salsa32.stp', mode 'w' at 0x7f7eb7ebf9c0>
Traceback (most recent call last):
File "cryptosmt.py", line 207, in
main()
File "cryptosmt.py", line 203, in main
startsearch(params)
File "cryptosmt.py", line 48, in startsearch
search.findMinWeightCharacteristic(cipher, tool_parameters)
File "/home/nagendar/Desktop/temp/cryptosmt-master/cryptanalysis/search.py", line 158, in findMinWeightCharacteristic
result = solveSTP(stp_file)
File "/home/nagendar/Desktop/temp/cryptosmt-master/cryptanalysis/search.py", line 313, in solveSTP
result = subprocess.check_output(stp_parameters)
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

@kste
Copy link
Owner

kste commented Nov 25, 2016

Thanks for reporting this problem. This should be the same as Issue #1. This error most likely means that you don't have the rights to execute STP on the system you are running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants