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

Perform manual test with Kryptus HSM. #15

Closed
ximon18 opened this issue Aug 16, 2021 · 1 comment
Closed

Perform manual test with Kryptus HSM. #15

ximon18 opened this issue Aug 16, 2021 · 1 comment

Comments

@ximon18
Copy link
Member

ximon18 commented Aug 16, 2021

No description provided.

@ximon18
Copy link
Member Author

ximon18 commented Aug 16, 2021

$ git describe --always
afb314d

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"

$ python3 management_interfaces/command-line-client/command_line_client.py man get-knet-server-version --host ******** --port 60161 --insecure --username user1 --interactive-password
Warning: SSL verification disabled!
Version:  1.25.0

$ HSM_PASSWORD="********" cargo run --example cli-tool -- -h ******** -p 60160 -u user1 2>&1 | fold -w 120
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/examples/cli-tool -h ******** -p 60160 -u user1`
2021-08-16T10:57:23+02:00 - INFO - Querying server properties..
2021-08-16T10:57:24+02:00 - INFO - QueryResponsePayload { operations: Some([Create, CreateKeyPair, Register, Locate, Che
ck, Get, GetAttributes, GetAttributeList, AddAttribute, ModifyAttribute, DeleteAttribute, Activate, Revoke, Destroy, Val
idate, Query, DiscoverVersions, Encrypt, Decrypt, Sign, SignatureVerify, MAC, MACVerify, RNGRetrieve, RNGSeed, Hash]), o
bject_types: Some([Certificate, SymmetricKey, PublicKey, PrivateKey, SplitKey, Template, SecretData, OpaqueObject, PGPKe
y]), vendor_identification: Some("kryptus.com"), server_information: Some(ServerInformation) }
2021-08-16T10:57:25+02:00 - INFO - Created key pair:
2021-08-16T10:57:25+02:00 - INFO -   Private key ID: RNjCUrmI963arVhrL+Jb
2021-08-16T10:57:25+02:00 - INFO -   Public key ID : K8rv1oHcXRTssLHGQDNK
2021-08-16T10:57:25+02:00 - INFO - Activating private key..
2021-08-16T10:57:25+02:00 - INFO - Signing with private key..
2021-08-16T10:57:25+02:00 - INFO - 24D7AF6CF6FD15CE05A9C40C44C24B7706DC12D4A7472DFB49789016E941FF7219569341DB1C9E7A53966
6A03B38266277CA23329B6DC9A33BDC55D845AD0D09E0FA2FE237E4C75937BBDE16189177698CA58C0CBB7FDDB3A1390084651D1A06358719377145C
11FD3EEEF680367599568C2EA2234A2C4F557690E6218930966DF6FA9551494EFA1793A7E944E231517E774797484A510C226CDA56F6BA856376C875
CBB10290B32075F221FD65D6BC2A990CCA19E1845216CACC70B7B6243224CBDC11ADCB867F77A41F1F66BC3DEB98F55348A6226524757BFA6829DFE9
120A8D83900A7953932226935023CDB64DA2940070229373F29EDC8A45D61E823E7
2021-08-16T10:57:25+02:00 - INFO - Revoking private key..
2021-08-16T10:57:25+02:00 - INFO - Deleting public key..
2021-08-16T10:57:25+02:00 - INFO - Deleting private key..
2021-08-16T10:57:25+02:00 - INFO - Requesting 32 random bytes..
2021-08-16T10:57:25+02:00 - INFO - 11EF85E8C539AB0A4717FFEF58671833BAA5A05ECE4BBC2E75AFBF47AD345C33

@ximon18 ximon18 closed this as completed Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant