style: Ensure inline comments start upper case and end with a dot, and fix some overlong lines.

This commit is contained in:
David Niehues
2024-12-12 17:27:01 +01:00
parent cca02dc8d1
commit 8805ef7c38
3 changed files with 22 additions and 20 deletions

View File

@@ -104,11 +104,11 @@ pub fn pubkey(private_keys_dir: &Path, public_keys_dir: &Path) -> Result<()> {
Public::from_slice(public.as_bytes())
};
// store the wireguard public key
// Store the wireguard public key.
wgpk.store_b64::<WG_B64_LEN, _>(public_wgpk)?;
wgpk.zeroize();
// copy the pq-public key to the public directory
// Copy the pq-public key to the public directory.
fs::copy(private_pqpk, public_pqpk)?;
Ok(())