Skip to content

Commit

Permalink
don't claim to support enclaves
Browse files Browse the repository at this point in the history
  • Loading branch information
shueybubbles committed Jul 6, 2023
1 parent a98b1fd commit 0dcb602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alwaysencrypted_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const (
dropColumnEncryptionKey = `DROP COLUMN ENCRYPTION KEY [%s]`
createEncryptedTable = `CREATE TABLE mssqlAlwaysEncrypted
(col1 int
ENCRYPTED WITH (ENCRYPTION_TYPE = RANDOMIZED,
ENCRYPTED WITH (ENCRYPTION_TYPE = DETERMINISTIC,
ALGORITHM = 'AEAD_AES_256_CBC_HMAC_SHA_256',
COLUMN_ENCRYPTION_KEY = [%s]),
col2 nchar(10) COLLATE Latin1_General_BIN2
Expand Down
2 changes: 1 addition & 1 deletion tds.go
Original file line number Diff line number Diff line change
Expand Up @@ -1370,5 +1370,5 @@ func (f *featureExtColumnEncryption) toBytes() []byte {
with the additional ability to cache column encryption keys that are to be sent to the enclave
and the ability to retry queries when the keys sent by the client do not match what is needed for the query to run.
*/
return []byte{0x02}
return []byte{0x01}
}

0 comments on commit 0dcb602

Please sign in to comment.