TSSTPMPROXY(1)

✨ NAME ✨

okay so, bestie, welcome to tsstpmproxy β€” it's a User Commands (section 1) page, and yes, the name literally just says it runs tsstpmproxy. iconic of it. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this thing does a pass through connecting a TCPIP port to a hardware TPM. that's the whole main character moment. πŸ”₯

You wanna reach for this proxy when you're out here using the TSS command line utilities. Why? because it keeps the connection to the TPM device driver open. and the way that matters is: it prevents a resource manager from flushing resources after each utility exits. no cap, that's the whole point. πŸ™Œ

It also permits remote access to a HW TPM. so like, remote TPM access?? obsessed. ✨


πŸŽ€ the flags, one by one πŸŽ€

  • --port, -p β€” TCPIP server port. default is 2321. that's it, that's the girl. πŸ“
  • -mssim β€” use MS TPM 2.0 socket simulator packet format. this one is the default. πŸ‘‘
    • use with TSS env variable TPM_SERVER_TYPE=mssim β€” which is also the default. πŸ’œ
  • -raw β€” use TPM 2.0 packet format. 🌈
    • use with TSS env variable TPM_SERVER_TYPE=raw. 🧚
  • --verbose, -v β€” verbose mode. default is false. turn it on if you want the tea. β˜•
  • --log, -l β€” log transactions into given file. default is none, so if you don't pass it, nothing gets logged, periodt. πŸ’€
lowkey reminder bestie: -mssim is the default packet format, and its matching env variable TPM_SERVER_TYPE=mssim is the default too. if you go -raw, you gotta pair it with TPM_SERVER_TYPE=raw. iykyk 🫢

and that's the page!! this was tsstpmproxy version 2.1, dated October 2023 β€” slay, bye bestie, go proxy something πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from