feat: Add environment variable support for DID registration

- Bash implementation of DID creation-registration
- Move admin credentials to .env file for better security
- Add .env.example with default values
- Add dotenv support to TypeScript, Python and Bash implementations
- Update dependencies to include dotenv packages
- Fix JWT signature format in Bash implementation
- Add DER signature parsing for ES256K in Bash script

The admin DID and private key can now be configured via environment
variables, with fallback to default values if not set. This allows
for easier testing and deployment across different environments.
This commit is contained in:
Matthew Raymer
2025-03-04 06:27:20 +00:00
parent 48c749a804
commit a4279fab34
7 changed files with 227 additions and 15 deletions

3
.gitignore vendored
View File

@@ -41,4 +41,5 @@ playwright-tests
test-playwright
dist-electron-packages
ios
.ruby-version
.ruby-version
+.env