Questions tagged [tss.msr]

4 questions
1
vote
0 answers

Getting TbsCommandBlocked Exception when I run the microsoft/TSS.MSR Authorization sample on UWP

The 'Authorization' sample of TSS.NET of TSS.MSR is running fine as console application, when I run the visual studio in admin mode. But when I use the same code in an UWP application by using Microsoft.TSS nuget, I am getting exception as…
rahul k
  • 53
  • 5
0
votes
0 answers

I can't create an Attestation Key (AK) using as its parent an existing Endorsement Key (EK)

I'm using TSS.MSR library for C++ (TSS.CPP). My goal is to generate a new AK from an existing EK that I'm reading using tpm.ReadPublic() command. If I create an EK by myself using tpm.CreatePrimary(), without any auth or policy, I'm able to create…
0
votes
1 answer

TPMT_PUBLIC Serialize to other Format file?

[a similar questions link][1] [1]: https://stackoverflow.com/questions/60340870/serialize-tpm-public-key-to-der-or-pem But,I don't Know how to do that,using botan to covert data. TPMT_PUBLIC ===> PEM
帅是理
  • 1
  • 2
0
votes
1 answer

TPM: I can't perform RSA encryption/decryption with persistent key, using encryption session

Description of the situation by steps: I start encryption/decryption sessions I create primary RSA key I make key object persistent I try to encrypt data, using persistent key handle Sample of my code below: ByteVec dataToEncrypt =…