mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix length printout in credential id
This commit is contained in:
parent
54ee8ffd83
commit
fae47d2dac
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ def main():
|
|||
print(f"pub const {name}_PUB: [u8; 32] = [{pubkey_formatted}];")
|
||||
print(f"pubkey base64: {base64.b64encode(pubkey_blob)}")
|
||||
key_handle_formatted = ', '.join(f"0x{byte:02x}" for byte in key_handle)
|
||||
print(f"pub const {name}_CRED_ID: [u8; 32] = [{key_handle_formatted}];")
|
||||
print(f"pub const {name}_CRED_ID: [u8; {len(key_handle)}] = [{key_handle_formatted}];")
|
||||
print(f"cred id base64: {base64.b64encode(key_handle)}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue