diff options
| author | richard <richard> | 2020-06-16 12:59:13 +0200 |
|---|---|---|
| committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2020-06-27 19:01:35 +0800 |
| commit | 3590e302dff91366b0b89660b31ab8f18ff5b0c4 (patch) | |
| tree | 494be8a4c3f90c3fb10f26dcb6816a301ec1a9fc /meta-encrypted-storage/recipes-tpm | |
| parent | c39b30e99f1a1ea4a22313dd6f7b0337d632a31b (diff) | |
| download | meta-secure-core-3590e302dff91366b0b89660b31ab8f18ff5b0c4.tar.gz | |
update tpm2-tools_3.2.1 -> tpm2-tools_4.1.1.bb, tpm2-abrmd_2.0.3 -> tpm2-abrmd_2.3.0, tpm2-tss_2.2.3.bb -> tpm2-tss_2.3.2.bb
Diffstat (limited to 'meta-encrypted-storage/recipes-tpm')
| -rwxr-xr-x | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2/0002-luks-setup.sh-Updated-TPM-Tools.patch | 11 | ||||
| -rw-r--r-- | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2/0002-luks-setup.sh-Updated-TPM-Tools.patch b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2/0002-luks-setup.sh-Updated-TPM-Tools.patch new file mode 100755 index 0000000..29a73f0 --- /dev/null +++ b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2/0002-luks-setup.sh-Updated-TPM-Tools.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | --- a/scripts/luks-setup.sh 2020-02-17 15:23:50.214278216 +0100 | ||
| 2 | +++ b/scripts/luks-setup.sh 2020-02-17 15:22:41.054281439 +0100 | ||
| 3 | @@ -402,7 +402,7 @@ | ||
| 4 | detect_tpm | ||
| 5 | if [ $? -eq 0 ]; then | ||
| 6 | if [ $OPT_EVICT_ALL -eq 1 ]; then | ||
| 7 | - cmd="tpm2_takeownership --clear" | ||
| 8 | + cmd="tpm2_clear" | ||
| 9 | [ -n "$OPT_OLD_LOCKOUT_AUTH" ] && cmd="${cmd} --oldLockPasswd $OPT_OLD_LOCKOUT_AUTH" | ||
| 10 | [ -n "$OPT_LOCKOUT_AUTH" ] && cmd="${cmd} --LockPasswd $OPT_LOCKOUT_AUTH" | ||
| 11 | eval "$cmd" | ||
diff --git a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb index e36e2f2..d8025c3 100644 --- a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb +++ b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | |||
| @@ -23,6 +23,7 @@ SRC_URI = "\ | |||
| 23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ | 23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ |
| 24 | file://0001-luks-setup.sh-Add-support-for-qemu-with-the-swtpm.patch \ | 24 | file://0001-luks-setup.sh-Add-support-for-qemu-with-the-swtpm.patch \ |
| 25 | file://0001-encrypt_secret.py-switch-to-python3.patch \ | 25 | file://0001-encrypt_secret.py-switch-to-python3.patch \ |
| 26 | file://0002-luks-setup.sh-Updated-TPM-Tools.patch \ | ||
| 26 | " | 27 | " |
| 27 | SRCREV = "87c35c63090a33d4de437f518b8da9f2d1f1d828" | 28 | SRCREV = "87c35c63090a33d4de437f518b8da9f2d1f1d828" |
| 28 | 29 | ||
