From e8d342da07c550e647f82afb2cf3f9c6e46710b7 Mon Sep 17 00:00:00 2001 From: Rich Wareham Date: Sat, 21 Sep 2013 13:43:06 +0100 Subject: [PATCH] README: fix syntax highlighting of examples --- README | 29 ----------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 README diff --git a/README b/README deleted file mode 100644 index 2e124bc..0000000 --- a/README +++ /dev/null @@ -1,29 +0,0 @@ -A simple Python implementation of the HDCP key generation algorithm. - -This script implements a simple version of the HDCP key generation algorithm -using the leaked HDCP master key (which is located in master-key.txt). - -Usage: generate_key.py [options] - -Options: - -h, --help show this help message and exit - -m FILE, --master=FILE - load master key from FILE - -k, --sink generate a sink key rather than a source key - --ksv=KSV use a specific KSV expressed in hexadecimal - -j, --json output key and KSV as JSON - -t, --test generate source and sink keys and test they work - -Examples: - - # Generate a sink key with KSV 0x54f0af39a8 and output the result in JSON - ./generate_key.py -k --ksv 54f0af39a8 -j - - # Generate a source key with a random KSV and output the result in a - # human-readable form - ./generate_key.py - - # Run a self-test to make sure the source a sink key generation is consistent - ./generate_key.py -t - -% vim:spelllang=en_gb:spell diff --git a/README.md b/README.md index 5c2669d..4747f2a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Options: Examples: -```console +```bash # Generate a sink key with KSV 0x54f0af39a8 and output the result in JSON ./generate_key.py -k --ksv 54f0af39a8 -j