Skip to content

secrets: add scanners for transparent encryption and decryption

Warren Gifford requested to merge rfc196/encoding-scanner into main

Created by: unknwon

Add two types in secrets package: StringValue and NullStringValue, both implements sql.Scanner and driver.Valuer for "automatic" encryption and decryption during DB scan and write time.

This is a subset of #13759 and extracted here to have much smaller diff to review.

Merge request reports

Loading