Title: PSA - Deprecating LibTomCrypt and NSS crypto providers · Issue #564 · sqlcipher/sqlcipher · GitHub
Open Graph Title: PSA - Deprecating LibTomCrypt and NSS crypto providers · Issue #564 · sqlcipher/sqlcipher
X Title: PSA - Deprecating LibTomCrypt and NSS crypto providers · Issue #564 · sqlcipher/sqlcipher
Description: SQLCipher's codebase contains two non-standard, but historically supported, cryptographic providers: crypto_libtomcrypt (Bindings for LibTomCrypt) crypto_nss (Bindings for NSS) Neither one of these providers gets a lot of use these days....
Open Graph Description: SQLCipher's codebase contains two non-standard, but historically supported, cryptographic providers: crypto_libtomcrypt (Bindings for LibTomCrypt) crypto_nss (Bindings for NSS) Neither one of these...
X Description: SQLCipher's codebase contains two non-standard, but historically supported, cryptographic providers: crypto_libtomcrypt (Bindings for LibTomCrypt) crypto_nss (Bindings for NSS) Neither one of t...
Opengraph URL: https://github.com/sqlcipher/sqlcipher/issues/564
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PSA - Deprecating LibTomCrypt and NSS crypto providers","articleBody":"SQLCipher's codebase contains two non-standard, but historically supported, cryptographic providers:\n\n- crypto_libtomcrypt (Bindings for [LibTomCrypt](https://github.com/libtom/libtomcrypt))\n- crypto_nss (Bindings for [NSS](https://nss-crypto.org/))\n\nNeither one of these providers gets a lot of use these days. We were previously aware of a few major projects using them, but those have either been discontinued/abandoned or moved to other crypto providers. \n\nBecause these do not get a lot of use or testing, the SQLCipher team is planning to deprecate them and remove them from the codebase as packaged providers in a future release. Removing these from the source tree will mitigate the perception of support within the core. The current plan is to continue to include them in the upcoming release of 4.11.0, but then remove them in version 4.12.0 or later.\n\nThat said, SQLCipher fully supports \"custom\" providers which may be supplied by an application. That means that any remaining applications currently using these providers can import and integrate one of these providers into their own codebase, compile it, and set it as the default provider at build time.\n\nDevelopers would only be using one of these providers if they are building SQLCipher from source. You can tell if your build is using one of these providers by examining the compile time macros for `SQLCIPHER_CRYPTO_LIBTOMCRYPT` or `SQLCIPHER_CRYPTO_NSS`. \n\nTo use an externally maintained provider. for example, one could:\n\n1. copy the external `crypto_libtomcrypt.c` file into the root of the sqlcipher source tree before building\n2. add the following to the `./configure` `CFLAGS`: `-DSQLCIPHER_CRYPTO_LIBTOMCRYPT -DSQLCIPHER_CRYPTO_CUSTOM=sqlcipher_ltc_setup`\"\n3. provide `crypto_libtomcrypt.c` via the extra `EXTRA_SRC` parameter to make, i.e. `make EXTRA_SRC=crypto_libtomcrypt.c`\n\nAlternately, users of those cryptographic provider could consider switching over to one of the other default and support providers, OpenSSL or CommonCrypto.\n","author":{"url":"https://github.com/sjlombardo","@type":"Person","name":"sjlombardo"},"datePublished":"2025-08-22T20:41:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/564/sqlcipher/issues/564"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6afeb91d-d105-06fd-c1d2-5964ad58bdef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFE8:3DECDD:1427788:1B6F2C0:6971E267 |
| html-safe-nonce | 56939d6c9c76588437209c32b2b1c7e46ed89d909ffbe011a4a422686d9216ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkU4OjNERUNERDoxNDI3Nzg4OjFCNkYyQzA6Njk3MUUyNjciLCJ2aXNpdG9yX2lkIjoiNTE2NDg4NDcwNTYzODczNjQ4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6912bc9001b261a7d05cb2f9f626c97822a7e9b8e0a39e6c1e5246ecd5326a3c |
| hovercard-subject-tag | issue:3346671065 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlcipher/sqlcipher/564/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a8b14840337414d2de68069910a10df6e8312af0e93fa7d6afc96de8e4292c2/sqlcipher/sqlcipher/issues/564 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a8b14840337414d2de68069910a10df6e8312af0e93fa7d6afc96de8e4292c2/sqlcipher/sqlcipher/issues/564 |
| og:image:alt | SQLCipher's codebase contains two non-standard, but historically supported, cryptographic providers: crypto_libtomcrypt (Bindings for LibTomCrypt) crypto_nss (Bindings for NSS) Neither one of these... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sjlombardo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 683712716975b3393656edf09255a1d488d0e68ab7b9ac97e40ecf40036f696c |
| turbo-cache-control | no-preview |
| go-import | github.com/sqlcipher/sqlcipher git https://github.com/sqlcipher/sqlcipher.git |
| octolytics-dimension-user_id | 649049 |
| octolytics-dimension-user_login | sqlcipher |
| octolytics-dimension-repository_id | 38617 |
| octolytics-dimension-repository_nwo | sqlcipher/sqlcipher |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38617 |
| octolytics-dimension-repository_network_root_nwo | sqlcipher/sqlcipher |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed99da4e2de688dd1056894c1eccd4c82c6bbbfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width