Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested edit for YubiHSM2/Commands/Get_Logs.adoc #151

Open
blaufish opened this issue Oct 25, 2018 · 0 comments
Open

Suggested edit for YubiHSM2/Commands/Get_Logs.adoc #151

blaufish opened this issue Oct 25, 2018 · 0 comments

Comments

@blaufish
Copy link

1: Describe how to get the log in a binary or hex format.

Command appears to ignore set outformat hex ;

yubihsm> set outformat hex
yubihsm> audit get 0
0 unlogged boots found
0 unlogged authentications found
Found 20 items
item:  2939 -- cmd: 0x67 -- length:    2 -- session key: 0x0002 -- target key: 0xffff -- second key: 0xffff -- result: 0xe7 -- tick: 918860 -- hash: 74f278391b5b3296fe5dc9d1a29a3fb2
item:  2940 -- cmd: 0x03 -- length:   10 -- session key: 0xffff -- target key: 0x0002 -- second key: 0xffff -- result: 0x83 -- tick: 922003 -- hash: f8f42a9d65def0b4394fbf865accfc06

2: Also example code for how to verify the log binary would be useful.

3: Audit get / set appears to only be available from the interactive shell, and not through --action= parameter. Being able to command line interact with the log would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant