1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

tools/keyctl-proxy: blue is not readable on my display :)

This commit is contained in:
Pavol Rusnak 2020-01-22 16:05:41 +00:00
parent a95405b693
commit 4b1159b94d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -45,7 +45,7 @@ def make_commit(fw_or_type, digest, public_keys):
click.echo(f"Commiting to {click.style(fw_or_type.NAME, bold=True)} hash:") click.echo(f"Commiting to {click.style(fw_or_type.NAME, bold=True)} hash:")
for partid in range(4): for partid in range(4):
digest_part = digest[partid * 8 : (partid + 1) * 8] digest_part = digest[partid * 8 : (partid + 1) * 8]
color = "red" if partid % 2 else "blue" color = "red" if partid % 2 else "cyan"
digest_str = click.style(digest_part.hex().upper(), fg=color) digest_str = click.style(digest_part.hex().upper(), fg=color)
click.echo("\t" + digest_str) click.echo("\t" + digest_str)
click.echo(f"Using path: {click.style(path, bold=True)}") click.echo(f"Using path: {click.style(path, bold=True)}")