Skip to main content@turnkey/crypto
2.8.6
Patch Changes
2.8.5
Patch Changes
2.8.4
Patch Changes
- #1050
c745646 Author @amircheikh - - Removed @peculiar/webcrypto dependancy. This will fix build errors in environments where webcrypto is not defined but will still require a polyfill if you use a function where webcrypto is required.
2.8.3
Patch Changes
2.8.2
Patch Changes
2.8.1
Patch Changes
2.8.0
Minor Changes
- #974
3997c0f Author @narimonf - Added verification tooling for app proofs and boot proofs. Primarily adds verify(), which verifies an app proof boot proof pair.
Patch Changes
2.7.0
Minor Changes
- #947
2191a1b Author @amircheikh - - Added encryptOnRampSecret helper function. This is used for encrypting your fiat on ramp secrets before passing into the CreateFiatOnRampCredential activity
2.6.0
Minor Changes
2.6.0-beta.6
Minor Changes
- @turnkey/react-wallet-kit and @turnkey/core beta release
Patch Changes
2.6.0-beta.5
Minor Changes
- SDK beta release @turnkey/react-wallet-kit @turnkey/core
Patch Changes
2.6.0
Minor Changes
- #840
d7420e6 Author @zkharit - This change adds a new encryption mechanism to allow for messages to be encrypted to an enclaves quorum public key. A helper function specifically for OAith 2.0 client secret encryption is also included
2.5.1-beta.4
Patch Changes
2.5.1-beta.3
Patch Changes
2.5.1-beta.2
Patch Changes
2.5.1-beta.1
Patch Changes
2.5.1-beta.0
Patch Changes
2.5.0
Minor Changes
- #812
6cde41c Author @turnekybc - Add @turnkey/encoding as a package dependency instead of a devDependency to @turnkey/crypto. This resolves an issue with transitive dependencies when devDependencies are not included in the artifact.
2.4.3
Patch Changes
- #720
6cbff7a Author @moeodeh3 - Fixed decryptExportBundle not working in some environments by adding a shim to handle bs58’s ESM-only export.
2.4.2
Patch Changes
-
#699
c5cdf82 Author @andrewkmin - Add validations to fromDerSignature for parsing DER signatures in the Turnkey context
-
#716
fa46701 Author @moeodeh3 - Fixed decryptCredentialBundle not working in React Native by adding a shim to handle bs58check’s ESM-only export.
2.4.1
Patch Changes
2.4.0
Minor Changes
- #662
10ee5c5 Thanks @moe-dev! - Add function verifySessionJwtSignature to verify session tokens return from Turnkey and signed by the notarizer
2.3.1
Patch Changes
- 2bc0046: Migrated from WebCrypto (crypto.subtle.verify) to Noble for ECDSA signature verification
2.3.0
Minor Changes
- 668edfa: Add keyformat to decryptExportBundle for displaying Solana private keys
2.2.0
Minor Changes
- Added
toDerSignature function used to convert a raw ECDSA signature into DER-encoded format for compatibility with our backend, which requires DER signatures
2.1.0
Minor Changes
-
https://github.com/tkhq/sdk/pull/384: Reorganize into two subparts:
crypto.ts: core cryptography utilities
turnkey.ts: Turnkey-specific cryptography utilities
Add verifyStampSignature method:
- See in-line code docs for more details + example of usage
- This is useful for checking the validity of a stamp (signature) against the request body
Patch Changes
- d989d46: Remove unnecessary react/typsecript packages
2.0.0
Major Changes
- [BREAKING CHANGE] renamed
decryptBundle to decryptCredentialBundle (for decrypting email auth/recovery and oauth credential bundles) in order to distinguish from the new decryptExportBundle (for decrypting bundles containing wallet mnemonics or private key material)
Patch Changes
- Updated dependencies [e5c4fe9]
1.0.0
Major Changes
- 93666ff: turnkey/crypto standard HPKE encryption, first major release. Allows for programmatic importing in environments like node. Moved some encoding helper functions to turnkey/encoding
Patch Changes
- Updated dependencies [93666ff]
0.2.1
Patch Changes
0.2.0
Minor Changes
0.1.1
Patch Changes
- d968e0b: Bugfix: return public key
0.1.0
Initial release