Skip to content

Commit

Permalink
chore(Python): Update ECDH extern, pin DafnyRuntimePython version (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmcdonald3 authored Oct 4, 2024
1 parent cfb2f7e commit d683eef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,15 @@ def GetPublicKey(dafny_eccAlgorithm, dafny_privateKey):
)
)
)
else:
return default__.CreateExternEccKeyGenFailure(
_smithy_error_to_dafny_error(
ValueError(
"SM2 not supported."
)
)
)


def ValidatePublicKey(dafny_eccAlgorithm, dafny_publicKey):
public_key_bytes = bytes(dafny_publicKey)
Expand Down
2 changes: 1 addition & 1 deletion StandardLibrary/runtimes/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include = [
python = "^3.11.0"
pytz = "^2023.3.post1"
# TODO: Longer-term, write something to pull this in from the project's project.properties file
DafnyRuntimePython = "~4.8.0"
DafnyRuntimePython = "4.8.1.post1"

# Package testing

Expand Down

0 comments on commit d683eef

Please sign in to comment.