Skip to content

Commit bb14366

Browse files
committed
no-mistakes(document): Point duplicate key-loading docs to README owner
1 parent 8d03ce7 commit bb14366

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

‎docs/bluetooth_vehicles.md‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ async def main():
3939
asyncio.run(main())
4040
```
4141

42-
`get_private_key(path)` loads an existing EC private key or creates a new
43-
unencrypted PEM key file. Newly created key files are created owner-readable
44-
and owner-writable only (`0600`) from the start, with no write-then-chmod
45-
window, and concurrent creators fall back to reading the file that won the
46-
create race.
42+
See the [README](../README.md#bluetooth-for-vehicles) for
43+
`get_private_key(path)`'s create/load semantics and the `PrivateKeyError`
44+
raised for an unusable existing key file.
4745

4846
## Keeping the Connection Alive (`keepalive_interval`)
4947

‎docs/fleet_api_energy_sites.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,9 @@ an empty or `null` response even when it is not useful for proving local key
397397
readiness.
398398

399399
`get_rsa_private_key(path)` loads an existing RSA private key for gateway
400-
client registration or creates a new unencrypted PEM key file. Newly created
401-
key files are created owner-readable and owner-writable only (`0600`) from the
402-
start, with no write-then-chmod window, and concurrent creators fall back to
403-
reading the file that won the create race.
400+
client registration or creates a new unencrypted PEM key file; see the
401+
[README](../README.md#bluetooth-for-vehicles) for its create/load semantics
402+
and the `PrivateKeyError` raised for an unusable existing key file.
404403

405404
### Available Commands
406405

0 commit comments

Comments
 (0)