Skip to content

Commit 6c48323

Browse files
committed
refactor: update branding throughout codebase
- Update CA certificate subject names and organization to use fastcert branding - Change default CA directory paths to use fastcert naming - Update test assertions to reflect new branding - Revise documentation and comments for consistency - All tests passing (68 tests)
1 parent 57089fc commit 6c48323

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
127127

128128
### Version 0.1.0
129129

130-
This is the first functional release of fastcert, a Rust implementation of fastcert for creating locally-trusted development certificates.
130+
This is the first functional release of fastcert for creating locally-trusted development certificates.
131131

132132
**Highlights:**
133-
- Full feature parity with fastcert for common use cases
133+
- Cross-platform certificate generation with zero configuration
134134
- Cross-platform support (macOS, Linux, Windows)
135135
- Easy installation and usage
136136
- Comprehensive documentation

src/cert.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ pub fn key_to_pem(key: &KeyPair) -> Result<String> {
455455
}
456456

457457
/// Generate file names for certificate, key, and PKCS#12 files
458-
/// Matches fastcert behavior: example.com+4.pem, example.com+4-key.pem, example.com+4.p12
458+
/// File naming convention: example.com+4.pem, example.com+4-key.pem, example.com+4.p12
459459
pub fn generate_file_names(config: &CertificateConfig) -> (PathBuf, PathBuf, PathBuf) {
460460
// Use provided file names if available
461461
if let (Some(cert), Some(key), Some(p12)) =
@@ -573,7 +573,7 @@ pub fn verify_file_permissions(_path: &PathBuf, _expected_mode: u32) -> Result<b
573573
}
574574

575575
/// Write PKCS#12 file with certificate, key, and CA cert
576-
/// Uses the default password "changeit" as per fastcert behavior
576+
/// Uses the default password "changeit"
577577
pub fn write_pkcs12_file(
578578
p12_path: &PathBuf,
579579
cert_der: &[u8],

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//! fastcert - A tool for creating locally-trusted development certificates
2-
//!
3-
//! This is a Rust implementation of fastcert.
42
53
pub mod ca;
64
pub mod cert;

src/truststore/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl TrustStore for LinuxTrustStore {
159159
let cert_content = std::fs::read(&self.cert_path)
160160
.map_err(|e| Error::TrustStore(format!("Failed to read certificate: {}", e)))?;
161161

162-
// Copy certificate to system trust store using tee (similar to fastcert)
162+
// Copy certificate to system trust store using tee
163163
let sys_path_str = sys_path.to_string_lossy();
164164
let output = Command::new("sudo")
165165
.arg("tee")

0 commit comments

Comments
 (0)