PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
wheel
/
test
from wheel import signatures from wheel.signatures import djbec, ed25519py from wheel.util import binary def test_getlib(): signatures.get_ed25519ll() def test_djbec(): djbec.dsa_test() djbec.dh_test() def test_ed25519py(): kp0 = ed25519py.crypto_sign_keypair(binary(' '*32)) kp = ed25519py.crypto_sign_keypair() signed = ed25519py.crypto_sign(binary('test'), kp.sk) ed25519py.crypto_sign_open(signed, kp.vk) try: ed25519py.crypto_sign_open(signed, kp0.vk) except ValueError: pass else: raise Exception("Expected ValueError") try: ed25519py.crypto_sign_keypair(binary(' '*33)) except ValueError: pass else: raise Exception("Expected ValueError") try: ed25519py.crypto_sign(binary(''), binary(' ')*31) except ValueError: pass else: raise Exception("Expected ValueError") try: ed25519py.crypto_sign_open(binary(''), binary(' ')*31) except ValueError: pass else: raise Exception("Expected ValueError")
[-] test_tool.pyc
[edit]
[-] test-1.0-py2.py3-none-win32.whl
[edit]
[-] test_keys.pyc
[edit]
[-] test_signatures.py
[edit]
[-] test_basic.pyc
[edit]
[+]
..
[+]
complex-dist
[-] test_ranking.py
[edit]
[-] test_wheelfile.pyc
[edit]
[+]
simple.dist
[-] __init__.pyc
[edit]
[+]
headers.dist
[-] test_install.py
[edit]
[-] test_tool.py
[edit]
[-] test_basic.py
[edit]
[-] test_tagopt.pyc
[edit]
[-] test_install.pyc
[edit]
[-] test_keys.py
[edit]
[-] pydist-schema.json
[edit]
[-] test_paths.pyc
[edit]
[-] test_wheelfile.py
[edit]
[-] __init__.py
[edit]
[-] test_signatures.pyc
[edit]
[-] test_tagopt.py
[edit]
[-] test_ranking.pyc
[edit]
[-] test_paths.py
[edit]