Skip to content

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Oct 11, 2024

Secrets are basically untrusted input, even if they come from future versions of DuckDB that might have changed the availably types / providers. As such it's fine to throw a recoverable exception here.

Connected to the comment to #14332 at https://github.com/duckdb/duckdb/pull/14332/files#r1797295669.

Secrets are basically untrusted input, even if they come from future versions of DuckDB that
might have changed the availably types / providers. As such it's fine to throw a recoverable
exception here.
@carlopi carlopi force-pushed the avoid_internal_exception_on_secret_read branch from a9e1494 to c61a3e6 Compare October 11, 2024 18:34
@duckdb-draftbot duckdb-draftbot marked this pull request as draft October 11, 2024 18:34
@carlopi carlopi marked this pull request as ready for review October 12, 2024 00:03
@Mytherin Mytherin merged commit d2dfc60 into duckdb:main Oct 12, 2024
45 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Oct 17, 2024
Avoid throwing InternalException on reading secret (duckdb/duckdb#14336)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Oct 17, 2024
Avoid throwing InternalException on reading secret (duckdb/duckdb#14336)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@carlopi carlopi deleted the avoid_internal_exception_on_secret_read branch February 4, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants