WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Problem solved, it's all my bad.

Actually the function init_token called in init_pins is like overwriting label, and erasing current saved objects of a token.
I got confused because I used the init_pins function from cryptoki/tests/common.rs that initialize a token each time the program runs.

I let the disscussion open so you can edit the find_objects function comment

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tartopoms
Comment options

Answer selected by Tartopoms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant