Skip to content

KAS‐ECC SP800-56Ar3 vector set submission fails with “General exception. Contact service provider.” #432

@Jman1321

Description

@Jman1321

environment

Demo

testSessionId

680977

vsId

3553753

Algorithm registration

{
  "acvVersion": "1.0"
},
{
  "algorithms": [
    {
      "algorithm": "KAS-ECC",
      "revision": "Sp800-56Ar3",
      "function": [
        "keyPairGen",
        "partialVal",
        "fullVal"
      ],
      "iutId": "12345678",
      "scheme": {
        "onePassDh": {
          "kasRole": [
            "initiator",
            "responder"
          ],
          "l": 256,
          "keyConfirmationMethod": {
            "macMethods": {
              "HMAC-SHA-1": { "keyLen": 128, "macLen": 160 },
              "HMAC-SHA2-224": { "keyLen": 128, "macLen": 224 },
              "HMAC-SHA2-384": { "keyLen": 128, "macLen": 384 },
              "HMAC-SHA2-256": { "keyLen": 128, "macLen": 128 },
              "HMAC-SHA2-512": { "keyLen": 128, "macLen": 256 },
              "HMAC-SHA2-512/224": { "keyLen": 128, "macLen": 224 },
              "HMAC-SHA2-512/256": { "keyLen": 128, "macLen": 256 },
              "HMAC-SHA3-224": { "keyLen": 128, "macLen": 224 },
              "HMAC-SHA3-256": { "keyLen": 128, "macLen": 256 },
              "HMAC-SHA3-384": { "keyLen": 128, "macLen": 384 },
              "HMAC-SHA3-512": { "keyLen": 128, "macLen": 512 },
              "CMAC": { "keyLen": 128, "macLen": 128 }
            },
            "keyConfirmationDirections": [
              "unilateral"
            ],
            "keyConfirmationRoles": [
              "provider",
              "recipient"
            ]
          },
          "kdfMethods": {
            "oneStepKdf": {
              "auxFunctions": [
                { "auxFunctionName": "SHA-1" },
                { "auxFunctionName": "SHA2-224" },
                { "auxFunctionName": "SHA2-256" },
                { "auxFunctionName": "SHA2-384" },
                {
                  "auxFunctionName": "HMAC-SHA-1",
                  "macSaltMethods": [
                    "default",
                    "random"
                  ]
                }
              ],
              "fixedInfoPattern": "uPartyInfo||vPartyInfo",
              "encoding": [
                "concatenation"
              ]
            }
          }
        }
      },
      "domainParameterGenerationMethods": [
        "P-224",
        "P-256"
      ]
    }
  ],
  "isSample": true
}

Expected behavior

After submitting the registration, the server should either:

  • Generate valid vector sets,
    or
  • Reject the registration with a clear validation error if any capability is unsupported.

Additional context

Instead of failing during registration, the server behaves as if vector generation is proceeding normally.

A vsId is assigned, and the /vectorSets/{vsId} endpoint returns vector data.

However, the returned vectors contain an error such as:

"error": "General exception. Contact service provider."

This indicates that an internal exception is occurring after the registration has already been accepted and vector generation has begun.

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