Closed andrr3j closed 1 year ago
Also, mypy reports quite some issues: https://github.com/J08nY/pyecsca/actions/runs/6330584397/job/17211002643?pr=40
Some look like actual issues:
pyecsca/sca/target/emulator.py:100: error: Incompatible return value type (got "tuple[SignatureResult, Trace]", expected "tuple[bytes, Trace]") [return-value]
pyecsca/sca/target/emulator.py:92: error: Argument 4 to "KeyAgreement" has incompatible type "Optional[int]"; expected "Mod" [arg-type]
pyecsca/sca/target/emulator.py:105: error: Argument 1 to "verify_data" of "Signature" has incompatible type "bytes"; expected "SignatureResult" [arg-type]
pyecsca/sca/attack/DPA.py:42: error: Argument 1 to "int" has incompatible type "Optional[Mod]"; expected "Union[str, Buffer, SupportsInt, SupportsIndex, SupportsTrunc]" [arg-type]
pyecsca/sca/attack/DPA.py:44: error: Argument 1 to "int" has incompatible type "Optional[Mod]"; expected "Union[str, Buffer, SupportsInt, SupportsIndex, SupportsTrunc]" [arg-type]
pyecsca/sca/target/emulator.py:98: error: Argument 5 to "Signature" has incompatible type "Optional[int]"; expected "Optional[Mod]" [arg-type]
Codecov Report
0.00% <0.00%> (ø)
0.00% <0.00%> (ø)
... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more