Skip to content

Always Encrypted #238

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

Open
MiguelAtTweddle opened this issue Jan 31, 2019 · 3 comments
Open

Always Encrypted #238

MiguelAtTweddle opened this issue Jan 31, 2019 · 3 comments
Labels
good first issue Easier fixes for those new to the code

Comments

@MiguelAtTweddle
Copy link

Is it possible to use mssql-cli with a database which has Always Encrypted feature on certain fields?

@pensivebrian
Copy link
Member

Not at the moment. mssql-cli uses the .NET Core System.Data.SqlClient driver to connect to SQL Server, and this driver does not yet Always Encrypted columns.

If/when support is added to the Microsoft.Data.SqlClient driver for Always Encrypted, we'll make the move to this driver. Microsoft.Data.SqlClient support Always Encrypted is tracked by issue dotnet/SqlClient#11.

@KalleOlaviNiemitalo
Copy link

dotnet/SqlClient#11 has been closed, and it looks like you already moved to Microsoft.Data.SqlClient in microsoft/sqltoolsservice#865. Does mssql-cli now support Always Encrypted, then?

@pensivebrian
Copy link
Member

Not yet, but we're close now that all dependencies support the feature. All I think we need todo is wire up the '-g (enable column encryption)' parameter to set a value in the connection string when connecting to SQL Server. I don't have a timeline, but I'm hoping we can address this soon.

@pensivebrian pensivebrian added the good first issue Easier fixes for those new to the code label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Easier fixes for those new to the code
Projects
None yet
Development

No branches or pull requests

3 participants