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
style: Replace Unicode characters with standard ASCII
- Replace Unicode box-drawing characters with standard ASCII in diagrams
- Replace emoji with GitHub-supported emoji shortcodes
- Maintain same visual structure and information
- Remove potential bidirectional Unicode warnings
Copy file name to clipboardExpand all lines: README.md
+34-34Lines changed: 34 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
A focused, security-first authentication middleware for Nostr applications.
4
4
5
-
⚠️ **Important Security Notice**
5
+
**Important Security Notice**
6
6
7
7
This library handles cryptographic keys and authentication tokens that are critical for securing your Nostr application and user data. Any private keys (`nsec`) or authentication tokens must be stored and managed with the utmost security and care.
8
8
@@ -23,38 +23,38 @@ This middleware follows key principles that promote security, auditability, and
23
23
-**Focused Scope**: Does one thing well - Nostr authentication
24
24
25
25
### 3. Integration Ready
26
-
```plaintext
27
-
┌─────────────────┐
28
-
│ Client App │
29
-
└────────┬────────┘
30
-
│
31
-
▼
32
-
┌─────────────────┐
33
-
│ Nostr Auth │ ◄── This Service
34
-
│ Service │ Simple Auth Only
35
-
└────────┬────────┘
36
-
│
37
-
▼
38
-
┌─────────────────┐
39
-
│ App Platform │ ◄── Your Business Logic
40
-
│API │ User Tiers
41
-
└─────────────────┘ Rate Limits
26
+
```
27
+
+---------------+
28
+
| Client App |
29
+
+-------+-------+
30
+
|
31
+
v
32
+
+---------------+
33
+
| Nostr Auth | <-- This Service
34
+
| Service | Simple Auth Only
35
+
+-------+-------+
36
+
|
37
+
v
38
+
+---------------+
39
+
| App Platform | <-- Your Business Logic
40
+
| API | User Tiers
41
+
+---------------+ Rate Limits
42
42
```
43
43
44
44
## Core Features
45
45
46
-
-🔑 NIP-07 Compatible Authentication
47
-
-📝 Secure User Enrollment with Nostr
48
-
-⚡ Comprehensive Event Validation
49
-
-🔒 Advanced Cryptographic Operations
50
-
-🗄️ Supabase Integration for Data Persistence
51
-
-🎫 JWT-based Session Management
52
-
-🔄 Profile Management & Synchronization
53
-
-📊 Detailed Logging and Monitoring
54
-
-🔐 Automatic Key Management
55
-
-🚀 Environment-Aware Deployment
56
-
-🛠️ Development & Production Modes
57
-
-📁 Automated Directory Management
46
+
-Authentication: NIP-07 Compatible Authentication
47
+
-Enrollment: Secure User Enrollment with Nostr
48
+
-Validation: Comprehensive Event Validation
49
+
-Cryptography: Advanced Cryptographic Operations
50
+
-Data Persistence: Supabase Integration for Data Persistence
0 commit comments