summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples/generate-key.c
AgeCommit message (Collapse)Author
2019-11-28Call TPKs Certificates, update identifiers, documentation.Justus Winter
- Fixes #387.
2019-05-13openpgp-ffi: Only include unistd.h when neededNeal H. Walfield
- sequoia/openpgp.h doesn't require <unistd.h> so don't include it there. - Several examples do need <unistd.h> for STDIN_FILENO. So, include it locally. - Note: <unistd.h> is not available on Windows. This change makes <sequoia/openpgp.h> work there. (Although the examples now fail.)
2019-05-07openpgp: Rename TPKBuilder::default to TPKBuilder::newNeal H. Walfield
- One would think that TPKBuilder::default would return something filled with useful defaults, but it just returns a nearly empty builder. Rename it to TPKBuilder::new, which is less misleading.
2019-04-29openpgp: New TSK type.Justus Winter
- With a1e226f8f1418de43e577fdaa1d087b68bbb09ae in place, we have a more general way to add components to a TPK. Retire the current `TSK` type and replace it with a thin shim that only allows serialization of secret keys. - Fixes #107.