ACVP-Server icon indicating copy to clipboard operation
ACVP-Server copied to clipboard

Error in vector set after submission without information

Open AlexThurston opened this issue 2 years ago • 4 comments

environment Demo

testSessionId 333864

vsId 1321671

Algorithm registration KAS-ECC SP800-56AR3

Endpoint in which the error is experienced After submitting responses, the vector set state is error but the contents don't specify anything about what to do about it.

GET testSessions/333864/vectorSets/1321671 or GET testSessions/333864/vectorSets/1321671/results

The response is:

[{"acvVersion":"1.0"},{"error":"General exception. Contact service provider."}]

Expected behaviour If there is an error, that the response is in someway actionable.

AlexThurston avatar Jan 16 '23 17:01 AlexThurston

This might be similar to #233

AlexThurston avatar Jan 16 '23 17:01 AlexThurston

Hi @AlexThurston, can you share the registration for this one?

livebe01 avatar Feb 07 '23 19:02 livebe01

[
    {
        "scheme": {
            "dhEphem": {
                "kasRole": [
                    "initiator",
                    "responder"
                ]
            }
        },
        "revision": "Sp800-56Ar3",
        "algorithm": "KAS-FFC-SSC",
        "hashFunctionZ": "SHA2-256",
        "domainParameterGenerationMethods": [
            "FC",
            "FB"
        ]
    },
    {
        "iutId": "CAFECAFE",
        "scheme": {
            "ephemeralUnified": {
                "l": 1024,
                "kasRole": [
                    "initiator",
                    "responder"
                ],
                "kdfMethods": {
                    "oneStepKdf": {
                        "encoding": [
                            "concatenation"
                        ],
                        "auxFunctions": [
                            {
                                "macSaltMethods": [],
                                "auxFunctionName": "SHA2-256"
                            },
                            {
                                "macSaltMethods": [
                                    "default"
                                ],
                                "auxFunctionName": "SHA2-384"
                            }
                        ],
                        "fixedInfoPattern": "literal[0123456789ABCDEF]||uPartyInfo||vPartyInfo||context||algorithmId||label||l"
                    }
                }
            }
        },
        "function": [
            "partia lVal"
        ],
        "revision": "Sp800-56Ar3",
        "algorithm": "KAS-ECC",
        "domainParameterGenerationMethods": [
            "P-224",
            "P-256",
            "P-384",
            "P-521",
            "K-233",
            "K-283",
            "K-409",
            "K-571",
            "B-233",
            "B-283",
            "B-409",
            "B-571"
        ]
    },
    {
        "mode": "keyGen",
        "revision": "1.0",
        "algorithm": "DSA",
        "capabilities": [
            {
                "l": 2048,
                "n": 224
            },
            {
                "l": 2048,
                "n": 256
            },
            {
                "l": 3072,
                "n": 256
            }
        ]
    },
    {
        "scheme": {
            "dhEphem": {
                "kasRole": [
                    "initiator",
                    "responder"
                ]
            }
        },
        "revision": "Sp800-56Ar3",
        "algorithm": "KAS-FFC-SSC",
        "hashFunctionZ": "SHA2-224",
        "domainParameterGenerationMethods": [
            "FC",
            "FB"
        ]
    }
]

AlexThurston avatar Feb 07 '23 19:02 AlexThurston

Hi @AlexThurston, Do you know if v1.1.0.28](https://github.com/usnistgov/ACVP-Server/releases/tag/v1.1.0.28) fixed the issue, or is this still something we need to look deeper into? Apologies for the timeline. If not, is it OK to close this?

jbrock24 avatar Dec 11 '23 19:12 jbrock24