TSPI_TPM_AUTHORIZEMIGRATIONTICKET(3)
π Tspi_TPM_AuthorizeMigrationTicket π
okay bestie, welcome to the TCG Software Stack Developer's Reference β¨ this one's from the TSS 1.1 era, it's giving vintage, it's giving trusted computing, and honestly? we're obsessed. let's get into it π«Ά
β¨ NAME β¨
Tspi_TPM_AuthorizeMigrationTicket β literally makes the migration ticket you need for the migration process, no ticket no migration, periodt π
πΈ SYNOPSIS πΈ
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_TPM_AuthorizeMigrationTicket(TSS_HTPM hTPM, TSS_HKEY hMigrationKey,
TSS_MIGRATE_SCHEME migrationScheme, UINT32* pulMigTicketLength,
BYTE** prgbMigTicket);
seven includes. SEVEN. she's thorough and we respect it π
π¦ DESCRIPTION π¦
So Tspi_TPM_AuthorizeMigrationTicket is the one the owner calls to authorize a target public key for migration. Basically: when a system is being set up, the owner gets to decide that all archives should live on one particular server. Then, as keys get created, the user can pick one of those servers to be the target their keys migrate to β if they want to. slay, agency π
This gives you one of the two authorizations you need to migrate a key. one of TWO, bestie, remember that, you're gonna need the other one too π₯
π PARAMETERS π
hTPM
the handle of the TPM object π
hMigrationKey
the handle of the object that represents the migration key π
migrationScheme
a flag that says which migration scheme is being used π§
pulMigTicketLength
this one receives the length, in bytes, of the prgbMigTicket parameter π
prgbMigTicket
this one receives a pointer to the memory block holding the migration ticket blob π
π RETURN CODES π
Tspi_TPM_AuthorizeMigrationTicket returns TSS_SUCCESS when it works β iconic, flawless, no notes β¨ β otherwise it hands you one of these bad boys:
TSS_E_INVALID_HANDLEβ eitherhTPMorhMigrationKeyis not a valid handle. one of them is lying to you πTSS_E_INTERNAL_ERRORβ something went wrong internal to the TSS. not your fault, not her fault, it's just the vibes π
π CONFORMING TO π
Tspi_TPM_AuthorizeMigrationTicket conforms to the Trusted Computing Group Software Specification version 1.1 Golden β yes golden, like her π
π SEE ALSO π
(none). yeah. literally nothing. she's a standalone queen, no entourage, main character energy fr fr π
β οΈ heads up bestie:pulMigTicketLengthandprgbMigTicketare both outputs β they receive stuff, you don't hand them anything meaningful going in. don't be out here passing garbage and acting surprised π«Ά
TSS 1.1 Β· 2004-05-26 Β· and that's the whole page, mwah π thanks for reading my little manpage era, go authorize some migration tickets responsibly, ily, bye πβ¨
π¦ where this page comes from
- debian bookworm: libtspi-dev 0.3.15-0.3 Β· BSD-3-Clause
- debian trixie: libtspi-dev 0.3.15-0.4 Β· BSD-3-Clause
- epel 10: trousers-devel 0.3.15-11.el10_0 Β· BSD
- epel 9: trousers-devel 0.3.15-5.el9 Β· BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: trousers 0.3.15
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: trousers 0.3.15
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtspi-dev 0.3.15-0.2 Β· BSD-3-Clause
- ubuntu noble: libtspi-dev 0.3.15-0.3build2 Β· BSD-3-Clause
- ubuntu questing: libtspi-dev 0.3.15-0.4
- ubuntu resolute: libtspi-dev 0.3.15-1 Β· BSD-3-Clause
- ubuntu stonking: libtspi-dev 0.3.15-1ubuntu2 Β· BSD-3-Clause
- Copyright (C) 2004 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms