You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: polish README, CONTRIBUTING, package metadata, and add CHANGELOG
Expand README with architecture, security, and API sections. Fix all
login-utils references to auth-utils in CONTRIBUTING and package.json.
Fix repository/bugs/homepage URLs, add examples to files, create CHANGELOG.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# Contributing to nostr-biometric-login-utils
1
+
# Contributing to nostr-biometric-auth-utils
2
2
3
-
Thank you for considering contributing to **nostr-biometric-login-utils**! We appreciate your help in making this biometric authentication service better.
3
+
Thank you for considering contributing to **nostr-biometric-auth-utils**! We appreciate your help in making this biometric authentication service better.
4
4
5
5
## How to Contribute
6
6
7
7
### Reporting Issues
8
-
If you find a bug or have a feature request, please open an issue on our [GitHub repository](https://github.com/HumanjavaEnterprises/nostr-biometric-login-utils/issues).
8
+
If you find a bug or have a feature request, please open an issue on our [GitHub repository](https://github.com/HumanjavaEnterprises/nostr-biometric-auth-utils/issues).
A comprehensive utility library for implementing biometric authentication in Nostr applications using WebAuthn. This library provides a flexible set of tools for adding secure biometric authentication to your Nostr-based applications.
A comprehensive utility library for implementing biometric authentication in Nostr applications using WebAuthn. This library provides a flexible set of tools for adding secure biometric authentication as a step-up factor to your Nostr-based applications.
4
8
5
9
## Features
6
10
7
11
-**WebAuthn Integration**: Ready-to-use utilities for implementing WebAuthn-based biometric authentication
8
-
-**Platform Support**:
12
+
-**Platform Support**:
9
13
- TouchID/FaceID for iOS and macOS
10
14
- Windows Hello
11
15
- Android biometric authentication
12
-
- Security Key support
16
+
- Security Key support (FIDO2/U2F)
13
17
-**Nostr-Specific Tools**:
14
18
- Full NIP-19 compliance for entity encoding/decoding
15
19
- Nostr profile integration
@@ -24,7 +28,7 @@ A comprehensive utility library for implementing biometric authentication in Nos
The flow combines Nostr's cryptographic identity with WebAuthn biometrics for two-factor authentication. The magic link verifies the user controls the Nostr key, and biometrics verify the user is physically present.
119
+
120
+
## API Reference
121
+
122
+
### NostrBiometricClient
123
+
124
+
The main client for managing the authentication flow.
1. Always use multiple relays for magic link delivery
204
+
2. Set appropriate expiry times for magic links (5-15 minutes)
205
+
3. Implement session refresh with biometric re-verification
206
+
4. Monitor failed authentication attempts
207
+
5. Use HTTPS in production for WebAuthn origin verification
208
+
209
+
## Examples
210
+
211
+
See the `examples/` directory for complete working examples:
212
+
213
+
-`examples/proof_of_concept/` — Minimal Express.js server with WebAuthn flow
94
214
95
215
## Contributing
96
216
97
-
Contributions are welcome! Please read our contributing guidelines for details on our code of conduct and the process for submitting pull requests.
217
+
Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
218
+
219
+
## Changelog
220
+
221
+
See [CHANGELOG.md](CHANGELOG.md) for a detailed history of changes.
98
222
99
223
## License
100
224
101
-
This project is licensed under the MIT License - see the LICENSE file for details.
225
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments