mirror of
https://github.com/Query-farm/crypto.git
synced 2026-09-09 14:19:07 +08:00
main
Sync from query-farm-telemetry-client 45aea6e. The ping thread was detached and could outlive the DuckDB instance, racing OpenSSL's atexit cleanup on process exit (textplot issue #4). The worker is now owned by the database (joined in ~DatabaseInstance) and additionally joined from an atexit handler registered after OpenSSL's, so it can never be inside a request while OpenSSL is torn down. Telemetry setup errors (e.g. an unparseable http_proxy) no longer fail extension load. Requires DuckDB v1.5.0 or newer. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mz5d3JpeVDArkFK1Hq9K36
Crypto Hash/HMAC Extension for DuckDB
This extension, crypto, adds cryptographic hash functions, HMAC (Hash-based Message Authentication Code) calculation, and cryptographically secure random byte generation to DuckDB.
Documentation
Full documentation, including installation, usage, the function reference, and cookbook examples, is available at:
https://query.farm/products/extensions/crypto
Installation
INSTALL crypto FROM community;
LOAD crypto;
Languages
C++
84.5%
Shell
5.6%
Python
5.3%
CMake
4.1%
Makefile
0.5%