revert naming

This commit is contained in:
Kasper Juul Hermansen 2022-10-12 23:47:32 +02:00
parent 1727836c1f
commit 04f3bc1295
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
3 changed files with 10 additions and 2 deletions

View File

@ -110,9 +110,9 @@ fn pull_parent_cuddle_into_local(
destination: PathBuf, destination: PathBuf,
) -> anyhow::Result<()> { ) -> anyhow::Result<()> {
let mut rc = RemoteCallbacks::new(); let mut rc = RemoteCallbacks::new();
rc.credentials(|_url, _username_from_url, _allowed_types| { rc.credentials(|_url, username_from_url, _allowed_types| {
git2::Cred::ssh_key( git2::Cred::ssh_key(
"git", username_from_url.unwrap(),
None, None,
Path::new(&format!("{}/.ssh/id_ed25519", env::var("HOME").unwrap())), Path::new(&format!("{}/.ssh/id_ed25519", env::var("HOME").unwrap())),
None, None,

7
id_git Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACCix8lNGxRN+auRDOljId8JWWp7nleNv4Q0kD3c/gkI8QAAAJBB4Oi7QeDo
uwAAAAtzc2gtZWQyNTUxOQAAACCix8lNGxRN+auRDOljId8JWWp7nleNv4Q0kD3c/gkI8Q
AAAEARiqT4Zvda/VoGZFTY19hNhLc162ZyQ6y48Vy3kCUBCqLHyU0bFE35q5EM6WMh3wlZ
anueV42/hDSQPdz+CQjxAAAADGdpdEAxMC4wLjkuMAE=
-----END OPENSSH PRIVATE KEY-----

1
id_git.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKLHyU0bFE35q5EM6WMh3wlZanueV42/hDSQPdz+CQjx git@10.0.9.0