KMS message should error if no AWS credentials are set

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In kms-message, calling kms_request_get_signed without setting AWS credentials should fail but doesn't. kms-message doesn't error but gives you a malformed request. We should set an error on the passed kms_request_t (using KMS_ERROR) and return NULL. Let's add a test in test_kms_request.c to verify the behavior.

      It may be worthwhile to have other functions in kms-message fail as well.

            Assignee:
            Clyde Bazile III (Inactive)
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: