/
githubmirror
/
swtpm
ОбзорДокументацияВойти
/
githubmirror
/
swtpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
swtpm/
.../data/tpm2state8/
..
Readme.txt

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
encrypted-v0.10-default-v1.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
encrypted-v0.10-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
encrypted-v0.9-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
signature-v0.10-default-v1.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
signature-v0.10-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
signature-v0.9-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
toencrypt.txt

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
tosign.txt

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
tpmstate-v0.10-default-v1.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
tpmstate-v0.10-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
tpmstate-v0.9-null.bin

tests: Test verification and encryption with state from libtpms v0.9 and v0.10

3 месяца назад
Readme.txt
The state files in this directory were created with the following commands.
Note that there is an RSA-3072 signing key persisted at 81000000 and an RSA-3072
storage key at 81000001.
 
profile=default-v1
version=v0.10 ; means that libtpms v0.10 was used to create the state
 
swtpm socket \
--tpmstate backend-uri=file://data/tpm2state8/tpmstate-${version}-${profile}.bin \
--tpm2 \
--ctrl type=tcp,port=2322 \
--server type=tcp,port=2321 \
--flags not-need-init,startup-clear \
--profile name=${profile}
 
tsscreateprimary -hi o -rsa 3072 -si
tssevictcontrol -hi o -ho 80000000 -hp 81000000
 
tsscreateprimary -hi o -rsa 3072 -des
tssevictcontrol -hi o -ho 80000001 -hp 81000001
 
tsssign \
-if ./tests/data/tpm2state8/tosign.txt \
-hk 81000000 \
-halg sha256 \
-os ./tests/data/tpm2state8/signature-v0.10-default-v1.bin \
-scheme rsapss
 
tssencryptdecrypt \
-hk 81000001 \
-if ./tests/data/tpm2state8/toencrypt.txt \
-of ./tests/data/tpm2state8/encrypted-v0.10-default.bin