mirror of https://github.com/nucypher/nucypher.git
Let's see how the graph changes if we only cover nkms.
parent
b90da13470
commit
334c7807ad
|
@ -0,0 +1,2 @@
|
||||||
|
[run]
|
||||||
|
source=nkms
|
|
@ -8,3 +8,4 @@ __pycache__
|
||||||
/MANIFEST
|
/MANIFEST
|
||||||
/.tox
|
/.tox
|
||||||
/.idea
|
/.idea
|
||||||
|
.coverage
|
||||||
|
|
|
@ -7,7 +7,7 @@ install:
|
||||||
- pip install pipenv --upgrade
|
- pip install pipenv --upgrade
|
||||||
- pipenv install --dev --three
|
- pipenv install --dev --three
|
||||||
script:
|
script:
|
||||||
- pipenv run "pytest --cov=./ -v tests"
|
- pipenv run "pytest --cov=./nkms/* -v tests"
|
||||||
- codecov
|
- codecov
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
|
|
|
@ -69,8 +69,8 @@ class CryptoPower(object):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
sig_keypair = self._power_ups[SigningPower]
|
sig_keypair = self._power_ups[SigningPower]
|
||||||
except KeyError:
|
except KeyError as e:
|
||||||
raise NoSigningPower
|
raise NoSigningPower(e)
|
||||||
msg_digest = b"".join(API.keccak_digest(m) for m in messages)
|
msg_digest = b"".join(API.keccak_digest(m) for m in messages)
|
||||||
|
|
||||||
return sig_keypair.sign(msg_digest)
|
return sig_keypair.sign(msg_digest)
|
||||||
|
|
Loading…
Reference in New Issue