Skip to main content

remote_identity_path

Function remote_identity_path 

Source
pub fn remote_identity_path() -> Result<PathBuf, PathError>
Expand description

Path to the stored iroh endpoint key for the remote tunnel.

Under data/ rather than beside pids/, and that is load-bearing rather than tidy: a debug build resolves the data root to the repository checkout, and .gitignore ignores /data — so a private key written here cannot be committed by accident, where one written a level up would sit untracked in the working tree waiting for a git add -A.

The directory is created if it is not there; the file is not. modelpipe mints it 0600 on first use and refuses to read one that others can read.