mirror of
https://github.com/viktoruj/obsidian-cloud-kms.git
synced 2026-07-22 06:56:21 +00:00
1 KiB
1 KiB
Contributing
Thank you for your interest in contributing to Obsidian Cloud KMS Encryption!
Development Setup
git clone https://github.com/ViktorUJ/obsidian-cloud-kms.git
cd obsidian-cloud-kms
npm install
npm test
npm run build
Pull Request Process
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Run tests:
npm test - Run linter:
npx eslint src/ tests/ - Run typecheck:
npx tsc --noEmit - Commit with a descriptive message
- Push and create a Pull Request
Code Style
- TypeScript strict mode
- ESLint with no warnings
- No
console.login production code (use structured logger) - No sensitive data in error messages or logs
Security
- Never store credentials in code or settings
- Always zero DEK buffers after use
- Never write plaintext to disk
- Report vulnerabilities privately (see SECURITY.md)
License
By contributing, you agree that your contributions will be licensed under the MIT License.