Commit Graph

61 Commits

Author SHA1 Message Date
ezekielnewren dac1fd2bba
add more algorithm constants (#24)
* add more algorithm constants
2023-01-11 13:49:06 +01:00
kayos c367cca749
Connector: check len(values) to avoid nil pointer dereference (#21) 2023-01-11 13:46:18 +01:00
Hendrik Hofstadt ce1163658f
Merge pull request #20 from yunginnanet/master
Connector: close response bodies
2023-01-11 13:40:59 +01:00
Leopold Schabel e69056d810
Merge pull request #23 from AndrewPau/ap/additional-curve-support
Support Additional Algorithms
2022-10-18 21:46:56 +02:00
Andrew Pau 3ca48f2675
Support P384 and P521 curves 2022-10-10 11:11:52 -04:00
Hendrik Hofstadt 61ec9248b3
Merge pull request #19 from rmeringe/add_get_device_info_command
Adding get device info command
2022-07-18 10:19:34 +02: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
Leopold Schabel 28f4f87122
Merge pull request #22 from yunginnanet/markdown
Docs: add syntax highlighting
2022-06-30 20:36:37 +02:00
kayos@tcp.direct 7e8d2bcf3d
Connector: Close response bodies (squashed)
Connector: adjust response body closure

Connector: be consistent about returns

Connector: continue consistency efforts, fix positioning of defer call

Connector(lint): get rid of useless error check

Connector: again, be consistent

Connector: Prevent suppressing non-nil errors

---

Signed-off-by: kayos@tcp.direct <kayos@tcp.direct>
2022-06-30 07:48:33 -07:00
kayos@tcp.direct 78cb2d8595
Docs: add syntax highlighting 2022-06-30 07:04:49 -07:00
Rohan Meringenti 3f0395de8f
adding get device info command 2022-06-15 17:54:59 -06:00
Leopold Schabel 43f6e607f2
Merge pull request #16 from gdbelvin/import
ImportWrapped
2021-11-02 16:31:04 +01: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
Hendrik Hofstadt 278b0ae2f2
Merge pull request #14 from AndrewPau/ap/add-commands
Add commands, better conform with yubiHSM docs
2021-04-09 20:40:54 +02: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
Hendrik Hofstadt f66dd01301
Merge pull request #13 from terrbear/master
add sign pkcs1 command
2021-03-31 08:41:21 +02:00
terry a1855252da add sign pkcs1 command 2021-03-31 17:04:49 +13:00
Hendrik Hofstadt 9938428649
Merge pull request #12 from gdbelvin/putauthkey
PutAuthkey
2021-03-22 10:34:19 +01:00
Gary Belvin 5d97b2b65f PutAuthkey 2021-03-21 20:52:47 +00:00
Hendrik Hofstadt 1734a5c46e
Merge pull request #11 from gdbelvin/putwrapkey
PutWrapKey
2021-03-19 13:18:27 +01:00
Hendrik Hofstadt 7f6fc39faf
Merge pull request #10 from gdbelvin/capability
CapabilityPrimitive
2021-03-19 13:12:23 +01:00
Gary Belvin fe9ad5f86f Wrap Algorithms 2021-03-19 12:06:21 +00:00
Gary Belvin 8ea63b0b20 GitIgnore 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
Hendrik Hofstadt fb117c8072
Merge pull request #9 from gdbelvin/getpseudorandom
Suppport for GetPseudoRandom
2021-03-17 14:23:36 +01:00
Gary Belvin 48c7fef69d Update readme 2021-03-05 12:05:04 +00:00
Gary Belvin 11bd9d2fb6 Add GetPseudoRandom Command 2021-03-05 12:01:30 +00:00
Gary Belvin bfa73afdb9 Add vim swap files to .gitignore 2021-03-01 11:46:54 +00:00
Hendrik Hofstadt 3727364517
Merge pull request #8 from jakecraige/jake/upstream-auth
Add ChangeAuthenticationKey command
2020-02-28 19:35:26 +01: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
Hendrik Hofstadt d0ca2ed0df
Merge pull request #7 from jakecraige/jake/derive-ecdh
Implement DeriveEcdh command
2019-08-28 12:18:41 +02: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
Hendrik Hofstadt 892fb9b370 Don't reset ping interval as failed commands do not recreate broken sessions 2019-08-14 07:41:44 +02:00
Hendrik Hofstadt 0299fd5d70 Swap dead sessions 2019-06-20 20:34:45 +02:00
Hendrik Hofstadt 3601184c8b
Merge pull request #5 from ecadlabs/master
Support for SignEcdsa and DeleteObject
2019-06-19 21:11:00 +02:00
Simon Boissonneault-Robert b28a514e8f Add ListObject and GetObjectInfo support
Misc: removed pinged print
2019-06-18 16:18:13 -04:00
Simon Boissonneault-Robert 4f80722970 Changing imports to match original repo 2019-06-17 16:41:08 -04:00
Matthew Campbell fa21710f0b
Merge pull request #1 from loomnetwork/secp256k1
Added secp256k1 supporting
2018-12-05 21:26:40 +07: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 2f4bdbb679 Refactor SessionManager 2018-10-24 11:27:50 +02:00
Hendrik Hofstadt cbe259b1ee Fix race in session recycler; Closes #2 2018-10-20 17:38:17 +02:00
Hendrik Hofstadt 102a7057df Fix README 2018-10-01 14:51:13 +02:00
Hendrik Hofstadt df2d425a49 Prepare for GitHub publication 2018-10-01 14:48:56 +02:00