These helpers tpm2_seal_data()/tpm2_unseal_data() are useful for sealing/unsealing data without any further semantics around them. This is different from the existing tpm2_seal()/tpm2_unseal() which seal with a specific policy and serialize in a specific way, as we use it for disk encryption. These new helpers are more generic, they do not serialize in a specific way or imply policy, they are just the core of the sealing/unsealing. (We should look into porting tpm2_seal()/tpm2_unseal() onto these new helpers, but this isn#t trivial, since the classic serialization we use uses a merged marshalling of private/public key, which we'd have to change in one way or another)
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.