KMIP-interop-tech

 View Only
  • 1.  ASYNC tests failures

    Posted 12-10-2019 06:14
      Hi Tim,   I have run the test suite using qClient against the Cryptsoft C server using TTLV. Looking at ASYNC tests 1 to 8, each test fails at the Process operation with PermissionDenied. This is the Request/Response pairs from my run of TC-ASYNC-1-21 as an example:-   <RequestMessage>    <RequestHeader>       <ProtocolVersion>          <ProtocolVersionMajor type="Integer" value="2"/>          <ProtocolVersionMinor type="Integer" value="1"/>       </ProtocolVersion>       <ClientCorrelationValue type="TextString" value="TC-ASYNC-1-21 step=0"/>       <AsynchronousIndicator type="Enumeration" value="Mandatory"/>       <BatchCount type="Integer" value="1"/>    </RequestHeader>    <BatchItem>       <Operation type="Enumeration" value="Create"/>       <RequestPayload>          <ObjectType type="Enumeration" value="SymmetricKey"/>          <Attributes>             <CryptographicAlgorithm type="Enumeration" value="AES"/>             <CryptographicLength type="Integer" value="128"/>             <CryptographicUsageMask type="Integer" value="0x0000000C"/>             <Name>                <NameValue type="TextString" value="TC-ASYNC-1-21-key"/>                <NameType type="Enumeration" value="UninterpretedTextString"/>             </Name>          </Attributes>       </RequestPayload>    </BatchItem> </RequestMessage>   <ResponseMessage>    <ResponseHeader>      <ProtocolVersion>          <ProtocolVersionMajor type="Integer" value="2"/>          <ProtocolVersionMinor type="Integer" value="1"/>       </ProtocolVersion>       <TimeStamp type="DateTime" value="2019-12-10T05:34:12Z"/>       <BatchCount type="Integer" value="1"/>    </ResponseHeader>    <BatchItem>       <Operation type="Enumeration" value="Create"/>       <ResultStatus type="Enumeration" value="OperationPending"/>       <AsynchronousCorrelationValue type="ByteString" value="64633734306136372D633434382D343134342D396134662D62336631303439383863396500"/>    </BatchItem> </ResponseMessage>   <RequestMessage>    <RequestHeader>       <ProtocolVersion>          <ProtocolVersionMajor type="Integer" value="2"/>          <ProtocolVersionMinor type="Integer" value="1"/>       </ProtocolVersion>       <ClientCorrelationValue type="TextString" value="TC-ASYNC-1-21 step=1"/>       <BatchCount type="Integer" value="1"/>    </RequestHeader>    <BatchItem>       <Operation type="Enumeration" value="Process"/>       <RequestPayload>          <AsynchronousCorrelationValue type="ByteString" value="64633734306136372D633434382D343134342D396134662D62336631303439383863396500"/>       </RequestPayload>    </BatchItem> </RequestMessage>   <ResponseMessage>    <ResponseHeader>       <ProtocolVersion>          <ProtocolVersionMajor type="Integer" value="2"/>          <ProtocolVersionMinor type="Integer" value="1"/>       </ProtocolVersion>       <TimeStamp type="DateTime" value="2019-12-10T05:34:12Z"/>       <BatchCount type="Integer" value="1"/>    </ResponseHeader>    <BatchItem>       <Operation type="Enumeration" value="Process"/>       <ResultStatus type="Enumeration" value="OperationFailed"/>       <ResultReason type="Enumeration" value="PermissionDenied"/>       <ResultMessage type="TextString" value="DENIED"/>    </BatchItem> </ResponseMessage>   Martin       Martin Shannon  Software Developer  QuintessenceLabs W: quintessencelabs.com      Unit 1 Lower Ground 15 Denison St Deakin ACT 2600 P: +61 2 6260 4922        World Economic Forum Technology Pioneer    Find out more at  quintessencelabs.com