Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in vector set after submission without information #239

Open
AlexThurston opened this issue Jan 16, 2023 · 4 comments
Open

Error in vector set after submission without information #239

AlexThurston opened this issue Jan 16, 2023 · 4 comments
Assignees

Comments

@AlexThurston
Copy link

AlexThurston commented Jan 16, 2023

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 AlexThurston changed the title Error in vector set without information after submission Error in vector set after submission without information Jan 16, 2023
@AlexThurston
Copy link
Author

This might be similar to #233

@jbrock24 jbrock24 self-assigned this Jan 17, 2023
@livebe01
Copy link
Collaborator

livebe01 commented Feb 7, 2023

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

@AlexThurston
Copy link
Author

[
    {
        "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"
        ]
    }
]

@jbrock24
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants