Skip to content

Commit 731b2c9

Browse files
committed
update: README.md
1 parent 33d0460 commit 731b2c9

File tree

1 file changed

+2
-36
lines changed

1 file changed

+2
-36
lines changed

README.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fastcert "*.example.com"
139139
fastcert --ecdsa example.com
140140
```
141141

142-
**Note:** RSA-2048 is the default key type, matching fastcert's behavior. Use `--ecdsa` for ECDSA P-256 keys if needed.
142+
**Note:** RSA-2048 is the default key type. Use `--ecdsa` for ECDSA P-256 keys if needed.
143143

144144
## Usage Examples
145145

@@ -193,7 +193,7 @@ ECDSA P-256 keys provide equivalent security to RSA-2048 with smaller key sizes,
193193
- Faster cryptographic operations
194194
- Better performance
195195

196-
Both RSA and ECDSA are fully supported. RSA is the default to match fastcert's behavior.
196+
Both RSA and ECDSA are fully supported.
197197

198198
### Client Certificates
199199

@@ -323,7 +323,6 @@ All certificates generated by fastcert are valid for 825 days (approximately 2 y
323323
- CA: RSA-3072
324324
- Certificates: RSA-2048
325325
- Standard and widely compatible
326-
- Default matches fastcert behavior
327326
- Trusted by all systems
328327

329328
**ECDSA (optional --ecdsa flag):**
@@ -365,31 +364,6 @@ fastcert automatically detects and integrates with:
365364

366365
## Testing
367366

368-
fastcert has comprehensive test coverage to ensure reliability and correctness:
369-
370-
### Test Suite Overview
371-
372-
- **85+ total tests** (all passing)
373-
- **51 unit tests** - Testing individual functions and modules
374-
- **6 integration tests** - Verifying certificate signing, key sizes, and SANs
375-
- **17 end-to-end tests** - Complete workflow validation including:
376-
- 8 basic workflow tests (RSA, ECDSA, PKCS12, client certs, etc.)
377-
- 9 real-world scenario tests (see below)
378-
- **11 security tests** - File permissions, CA signing, serial uniqueness, key usage
379-
380-
### Real-World Scenario Tests
381-
382-
The test suite includes scenarios covering common development workflows:
383-
384-
1. **Web development setup** - localhost + 127.0.0.1 + custom domains
385-
2. **Microservices** - Wildcard subdomains for service architectures
386-
3. **Mobile development** - LAN IP addresses for physical device testing
387-
4. **Certificate renewal** - Regenerating certs with unique serials
388-
5. **Reverse proxy** - nginx/Apache style multi-domain certificates
389-
6. **Docker development** - Container hostname certificates
390-
7. **Multiple environments** - Dev, staging, prod with shared CA
391-
8. **API gateway** - Versioned APIs and multiple endpoints
392-
393367
### Running Tests
394368

395369
```bash
@@ -409,14 +383,6 @@ cargo install cargo-tarpaulin
409383
cargo tarpaulin --out Html --output-dir coverage
410384
```
411385

412-
### Quality Assurance
413-
414-
Unlike fastcert (which has no tests), fastcert provides:
415-
- Automated testing for every commit
416-
- OpenSSL verification of all generated certificates
417-
- Security validation (permissions, signing, expiration)
418-
- Real-world usage scenario coverage
419-
420386
## Troubleshooting
421387

422388
### Certificate Not Trusted

0 commit comments

Comments
 (0)