feat(crypto): add certificate hash generation and verification functions
- Implemented `generateCertificateHash` to create a hash using HMAC-SHA256 based on user ID and team ID. - Added `verifyCertificateHash` to validate a given certificate ID against generated hash. - Introduced `crypto-js` library as a dependency for cryptographic functions. chore(deps): update ajv to version 8.13.0 and add crypto-js dependency - Updated `ajv` from version 6.12.6 to 8.13.0 in package.json and package-lock.json. - Added `crypto-js` library to package.json for cryptographic operations. - Included type definitions for `crypto-js` in development dependencies.
This commit is contained in:
+5
-2
@@ -1,3 +1,6 @@
|
||||
VITE_API_URL=https://forsomereason.dev/api/v1
|
||||
VITE_GITHUB_CLIENT_ID=SuperSecretClientID12345
|
||||
|
||||
VITE_SUPABASE_URL=https://your-project-id.supabase.co
|
||||
VITE_SUPABASE_ANON_KEY=your-anon-key-here
|
||||
VITE_SUPABASE_URL=https://mamahakumaurtx5090ti.supabase.co
|
||||
VITE_SUPABASE_ANON_KEY=anonkeykekgimanasihbang
|
||||
SUPABASE_SERVICE_ROLE_KEY=service.role.keyisahsecret
|
||||
|
||||
Reference in New Issue
Block a user