AltairCA / EntityFrameworkCore.PostgreSQL.ColumnEncryption

NPGSQL Extension that supports native PostgreSql's [Raw Encryption Functions (encrypt_iv,decrypt_iv with aes-cbc/pad:pkcs)]
15 stars 3 forks source link

Fixed bug with working with multi db contexts with different passwords. #4

Closed XHunter74 closed 1 year ago

XHunter74 commented 1 year ago

I faced out with issue: I have many database contexts with encrypted columns and each context should have separate passwords. Unfortunately, your library doesn't provide the possibility to manage the situation, because... Please review my changes that should fix the problem. I tested the code a little and it works.

Best regards, Serhiy