Skip to content

API mismatch with actual result of call of /sign-pkcs1 #7

@Niro

Description

@Niro

API spec states that successful call should result an array of uint8s, but actual API call result is below

{
  "result": "ZTV2sNVmCEV2WygS8Q+sVxqMZq5Nahck34tqlqEtURtQ2f0UPNtrRl63zJAI9KZlureYpu1lyvR3a/dJasJtCfwqKvhTV/q/3G5hnIUEFwOCcJBUAXrDlrkY3GAKzJQG6Y08m4FB26cfxpAvETWiHy1inAh5enazkU1qh7KFq/aHUrTPeNAomT/OJhlYKnqgdwvyXpJY0eZfX2ZdezRRtEsLvkJ4CNgjwijSo9DN6+d/AkNz3T2nhDisQ1sleELAfk2doDnNdNLRgFxZZpo6mssQS7BRy86/hpOBuOOjl8uUPzTOM1yTae3rDo4hyittyqQ3AO6h6ysxGDNb+mUZN56ZGM9/vk+Jb1U3h8lRUvBGS1/Fg0BolII4vJ+qOCKu/wCpX4ALPpNLFR2h8VdEyW89KxS9qPLvrWsol68SIKIRbjml0SBoblF14Vw4EUv02Dr/+SLNozJlNm3PC3LtmkXfK8O4L3klY7BdYck8VE27kb7vHu39zEFOO+SBa7lE5XM1sGSfhBGtbp57uzhH6GAfahNCaJXw++Vyc8cR+rtQSCuuIrXrZmHhNn5PkW3n0DoTEon71/HY5t1zSgFisPW0gr/E6Nts/Gu73WrUOqq/cSFOb5ugglynk8QUzrvDTQvDanq18iZukN7lxi8dWxYNiDDyDFjFc8PEak2sSlg="
}

As a result deserialisation of such json string leads to Exception. I've found that in C# implementation such issue may be present too.

It is also would be great to pass bytes as a message and ability to choose sign algorithm as it made in AWS KMS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions