We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e40cd7c commit 9dd1255Copy full SHA for 9dd1255
yubihsm/objects.py
@@ -708,10 +708,10 @@ def sign_ssh_certificate(
708
709
:param int template_id: The ID of the SSH TEMPLATE to use.
710
:param bytes request: The SSH certificate request.
711
- :return: The signed SSH certificate.
+ :return: The SSH certificate signature.
712
:rtype: bytes
713
"""
714
- msg = struct.pack("!HH", self.id, template_id) + request
+ msg = struct.pack("!HHB", self.id, template_id, algorithm) + request
715
return self.session.send_secure_cmd(COMMAND.SIGN_SSH_CERTIFICATE, msg)
716
717
0 commit comments