rust-tss-esapi icon indicating copy to clipboard operation
rust-tss-esapi copied to clipboard

TSS 2.0 Enhanced System API (ESAPI) Rust wrapper

Results 58 rust-tss-esapi issues
Sort by recently updated
recently updated
newest added
trafficstars

When running tests with swtpm (0.5.2) linked with libtpms(0.8.0). I'm seeing a lot of: ``` WARNING:esys:src/tss2-esys/api/Esys_StartAuthSession.c:390:Esys_StartAuthSession_Finish() Received TPM Error ERROR:esys:src/tss2-esys/api/Esys_StartAuthSession.c:136:Esys_StartAuthSession() Esys Finish ErrorCode (0x00000903) [2021-02-27T04:12:22Z ERROR tss_esapi::context::tpm_commands::session_commands] Error when creating...

The sized buffers are TPM2B types which can contain data of different length (such as TPM2B_NAME or TPM2B_DIGEST). The current macro handles them well by checking that when the native...

bug
enhancement

I didn't find a test for extending PCRs in the repo, it would be useful also as a reference

In order to harder enforce MSRV it is possible to set "rust-version" in cargo.toml. This will create a compile time error if one tries to compile the library with a...

At the moment any examples we have are only checked for correctness by their submitter. Cargo allows us to run them, so we should make use of this to include...

The currently supported targets list includes a bunch of GNU target toolchains, but none on MUSL. In order to build fully static binaries - like something one might want to...

enhancement

Hi there, I was working again on another example of TPM usage, this time for key duplication. However, I am once again stuck. :( The following is the code that...

`2023-06-21T06:43:53.315108Z ERROR tss_esapi::structures::tagged::public: ECC unique identifier have not been set in the Public Builder even though the ECC algorithm have been selected. Consider using: .with_ecc_unique_identifier(&EccPoint::default())` ``` let ek_handle = tss_esapi::abstraction::ek::create_ek_object(...

We should add length checking off the input buffers for the `_offset` version of the marshall and unmarshall trait operations. Currently these methods don't do any checking as to whether...

At the moment our documentation is purely comment-based and should be enhanced with some working examples of how to use the functionality within.

documentation
enhancement
good first issue
help wanted