Commit Graph

28 Commits

Author SHA1 Message Date
ezekielnewren dac1fd2bba
add more algorithm constants (#24)
* add more algorithm constants
2023-01-11 13:49:06 +01:00
Andrew Pau 3ca48f2675
Support P384 and P521 curves 2022-10-10 11:11:52 -04:00
Rohan Meringenti f6e7a787af
add supported algorithms and fix indexing 2022-07-12 12:06:23 -04:00
Rohan Meringenti 7ed80af9d6
add support for complete response 2022-07-12 11:49:49 -04:00
Rohan Meringenti 3f0395de8f
adding get device info command 2022-06-15 17:54:59 -06:00
Gary Belvin 88cd174823 ImportWrapped 2021-06-17 13:59:00 -04:00
Gary Belvin d3f55e54bd ExportWrapped 2021-06-17 07:28:14 -04:00
Andrew Pau def8ee8789
Revert AuthKey changes 2021-04-09 10:48:34 -07:00
Andrew Pau 86670f0fba
Merge conflicts 2021-04-08 16:42:16 -07:00
Andrew Pau 76fb3dd4fd
Add commands 2021-04-07 14:22:09 -07:00
terry a1855252da add sign pkcs1 command 2021-03-31 17:04:49 +13:00
Gary Belvin 5d97b2b65f PutAuthkey 2021-03-21 20:52:47 +00:00
Gary Belvin fe9ad5f86f Wrap Algorithms 2021-03-19 12:06:21 +00:00
Gary Belvin 7d8389a6ff PutWrapkeyCommand 2021-03-19 12:06:21 +00:00
Gary Belvin bcd16c93b1 CapabilityPrimitive 2021-03-19 12:02:35 +00:00
Gary Belvin 11bd9d2fb6 Add GetPseudoRandom Command 2021-03-05 12:01:30 +00:00
Jake Craige 44a7c0d1fa
Sort alg 2020-02-28 10:27:06 -08:00
Jake Craige 530348283f
Add ChangeAuthenticationKey command
Introduce the command which is used to change the password to
authenticate to the HSM.

A small refactoring of extracting authkey out was necessary to prevent
an import cycle from securechannel importing commands which (without the
refactor) imported secure channel again.

Documentation for this command: https://developers.yubico.com/YubiHSM2/Commands/Change_Authentication_Key.html
2020-02-28 09:40:45 -08:00
Jake Craige 7df30b3ded
Implement DeriveEcdh command
Add the implementation fo the DeriveEcdh command alongside a command
name that matches what Yubi calls it.

Left the previously named one alone so this doesn't break backwards
compatibility if anyone was using that.

Docs: https://developers.yubico.com/YubiHSM2/Commands/Derive_Ecdh.html
2019-08-27 14:17:50 -07:00
Simon Boissonneault-Robert b28a514e8f Add ListObject and GetObjectInfo support
Misc: removed pinged print
2019-06-18 16:18:13 -04:00
linuxdev53 0717d04d07 Added secp256k1 keygen/sign, delete 2018-12-05 15:42:38 +02:00
linuxdev53 8a73cfa938 Added secp256k1 support 2018-11-30 17:52:16 +02:00
Hendrik Hofstadt 9dffdd608f Fix keyID parsing 2018-09-17 21:18:05 +02:00
Hendrik Hofstadt e485992e10 Implement unknown error message 2018-09-17 20:14:11 +02:00
Hendrik Hofstadt 7e9a251ebe Implement keepalive for sessions 2018-09-14 12:21:34 +02:00
Hendrik Hofstadt 30b3942a8d Add GetPubkey command support 2018-09-08 20:43:08 +02:00
Hendrik Hofstadt 5afe7b0962 implement session manager 2018-09-02 19:26:39 +02:00
Hendrik Hofstadt 372febe620 initial commit 2018-09-02 14:46:37 +02:00