aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-11-07 14:49:05 -0800
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-11-28 00:49:19 +0200
commit0234342dbc12608d60594039c90e390a384aa2ec (patch)
treed5548255a060c5f56c0b9d23892c290a9c5d61a5
parentd474971a8d6ccc848a45738d9af9a41b1d0cca6f (diff)
downloadtpm2-scripts-0234342dbc12608d60594039c90e390a384aa2ec.tar.gz
Add interpreter line to the head of each script
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
-rwxr-xr-xtpm2-flush2
-rwxr-xr-xtpm2-list-handles2
-rwxr-xr-xtpm2-pcr-policy2
-rwxr-xr-xtpm2-read-pcrs2
-rwxr-xr-xtpm2-reset-da-lock2
-rwxr-xr-xtpm2-root-key2
-rwxr-xr-xtpm2-simulator-vtpm2
7 files changed, 14 insertions, 0 deletions
diff --git a/tpm2-flush b/tpm2-flush
index 785d65f..586c6dc 100755
--- a/tpm2-flush
+++ b/tpm2-flush
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-list-handles b/tpm2-list-handles
index 268ccd0..8400740 100755
--- a/tpm2-list-handles
+++ b/tpm2-list-handles
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-pcr-policy b/tpm2-pcr-policy
index 7ae64de..aa9857d 100755
--- a/tpm2-pcr-policy
+++ b/tpm2-pcr-policy
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-read-pcrs b/tpm2-read-pcrs
index c38c34e..9b30a7f 100755
--- a/tpm2-read-pcrs
+++ b/tpm2-read-pcrs
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-reset-da-lock b/tpm2-reset-da-lock
index 85c7969..410a3ee 100755
--- a/tpm2-reset-da-lock
+++ b/tpm2-reset-da-lock
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-root-key b/tpm2-root-key
index 78cbb0c..e97a6f5 100755
--- a/tpm2-root-key
+++ b/tpm2-root-key
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
from argparse import ArgumentParser
from argparse import FileType
import os
diff --git a/tpm2-simulator-vtpm b/tpm2-simulator-vtpm
index bdfb8a0..c5c0c14 100755
--- a/tpm2-simulator-vtpm
+++ b/tpm2-simulator-vtpm
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import io
import socket
import struct