You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Encrypt if encryption is enabled and payload type is OutputifdataChannel.encryptionEnabled&&payloadType==message.Output {
inputData, err=dataChannel.encryption.Encrypt(log, inputData)
iferr!=nil {
returnerr
}
}
case message.KMSEncryption:
processedAction.ActionType=action.ActionTypeerr:=dataChannel.ProcessKMSEncryptionHandshakeAction(log, action.ActionParameters)
iferr!=nil {
processedAction.ActionStatus=message.FailedprocessedAction.Error=fmt.Sprintf("Failed to process action %s: %s",
message.KMSEncryption, err)
errorList=append(errorList, err)
} else {
processedAction.ActionStatus=message.SuccessprocessedAction.ActionResult= message.KMSEncryptionResponse{
KMSCipherTextKey: dataChannel.encryption.GetEncryptedDataKey(),
}
dataChannel.encryptionEnabled=true
}
The text was updated successfully, but these errors were encountered:
When SSM is protected with KMS, the payload fails to send/receive data.
See https://github.com/aws/session-manager-plugin/blob/mainline/src/datachannel/streaming.go:
The text was updated successfully, but these errors were encountered: