When ub_ctx_trustedkeys call is used to add trust anchor in bind's already obsoleted format, it won't report any error on unexpected format or missing anchors. It ...
The examples I have seen in the go-tpm repo seem to make the keys using go-tpm with functions like CreatePrimary and then pass the key handle returned by CreatePrimary into other functions like Sign.