This does not need any special handling as it does not touch any encrypted fields. Explicitly defining this here to avoid confusion.
(ctx context.Context, activeKeyDigest string)
| 94 | // This does not need any special handling as it does not touch any encrypted fields. |
| 95 | // Explicitly defining this here to avoid confusion. |
| 96 | func (db *dbCrypt) RevokeDBCryptKey(ctx context.Context, activeKeyDigest string) error { |
| 97 | return db.Store.RevokeDBCryptKey(ctx, activeKeyDigest) |
| 98 | } |
| 99 | |
| 100 | func (db *dbCrypt) InsertDBCryptKey(ctx context.Context, arg database.InsertDBCryptKeyParams) error { |
| 101 | // It's nicer to be able to pass a *sql.NullString to encryptField, but we need to pass a string here. |
nothing calls this directly
no test coverage detected