Replies: 2 comments 3 replies
-
@shemeshg RNP library is designed to be used via FFI interface, which is available via the header |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to iterate over the list of keys in my key store and perform some operations on them. However, I am not sure how to do that.
I looked at the generate.c example https://github.com/rnpgp/rnp/blob/main/src/examples/generate.c , but it only shows how to generate and export specific keys, not how to access existing keys in the key store. How can I get the list of keys and their properties (public or private, user, fingerprint, gtip etc.)?
I also tried to include the
rnp_key_store.h
header file that already implement the functionality in modern way, and seems to have some functions for key store manipulation, but I got some compilation errors due to missing inclues. What are the correct steps to include and use this header file?Here is my CMakeLists.txt file:
main cpp is exactly like
generate.c
What am I missing? Any help or guidance would be appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions