Add support for ed25519 keys (#335)

This commit is contained in:
Egor Duda
2022-05-12 22:56:33 +03:00
parent f95ae1f5ab
commit 983bc5c5b2
6 changed files with 325 additions and 47 deletions

View File

@@ -442,8 +442,6 @@ class OpenSKInstaller:
f"link-arg=-T{props.app_ldscript}",
"-C",
"relocation-model=static",
"-D",
"warnings",
f"--remap-path-prefix={os.getcwd()}=",
"-C",
"link-arg=-icf=all",
@@ -1091,6 +1089,14 @@ if __name__ == "__main__":
help=("When set, the output of elf2tab is appended to this file."),
)
main_parser.add_argument(
"--with_ed25519",
action="append_const",
const="with_ed25519",
dest="features",
help=("Enable Ed25519 support"),
)
main_parser.set_defaults(features=["with_ctap1"])
# Start parsing to know if we're going to list things or not.