pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
https://deskreen.com
GNU Affero General Public License v3.0
16.75k stars 902 forks source link

regarding host key in aur #130

Open sonuishaq67 opened 3 years ago

sonuishaq67 commented 3 years ago

Hey @pavlobu can you check if your host key is right by cloning this on your personal computer

git clone ssh://aur@aur.archlinux.org/deskreen.git

pavlobu commented 3 years ago

ok I run this:

git clone git clone ssh://aur@aur.archlinux.org/deskreen.git

here is the output:

Cloning into 'deskreen'...
The authenticity of host 'aur.archlinux.org (95.216.144.15)' can't be established.
ECDSA key fingerprint is SHA256:uTa/0PndEgPZTf76e1DFqXKJEXKsn7m9ivhLQtzGOCI.
Are you sure you want to continue connecting (yes/no/[fingerprint])? 

Warning: Permanently added 'aur.archlinux.org,95.216.144.15' (ECDSA) to the list of known hosts.
aur@aur.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
pavlobu commented 3 years ago

If you have a link to short and concise instructions on how to create aur key and manage it for our github workflow purposes, I'll go through it and will add a github workflow AUR_PRIVATE_KEY secret then. I did add a public key for my aur account when I was creating it and in AUR_PRIVATE_KEY secret of this project, I added a secret key of that aur key pair

pavlobu commented 3 years ago

I'll try to google on how to add a key correctly. And in case any failures happen again with post release action, I think it is wise to add an "on" directive in workflow to trigger this action manually in actions panel of this project.

sonuishaq67 commented 3 years ago

aur@aur.archlinux.org: Permission denied (publickey).

chmod +400 {privatekey}

sonuishaq67 commented 3 years ago

this is the authentication https://wiki.archlinux.org/index.php/AUR_submission_guidelines#Authentication for aur your private key will be in .ssh/aur if you follow the same instructions

and then try to clone it if it works yay @pavlobu

pavlobu commented 3 years ago

ok I cloned repo successfully. Changes I made: added email in the end of public key of public key field in SSH (for some reason it was missing) also added this in ~/.ssh/config:

Host aur.archlinux.org IdentityFile ~/.ssh/arch-aur-my User aur

then ran this:

git clone ssh://aur@aur.archlinux.org/deskreen.git

and here is the output:

Cloning into 'deskreen'...
remote: Enumerating objects: 80, done.
remote: Counting objects: 100% (80/80), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 80 (delta 30), reused 63 (delta 18), pack-reused 0
Receiving objects: 100% (80/80), 16.82 KiB | 3.36 MiB/s, done.
Resolving deltas: 100% (30/30), done.

deskreen folder is created with PKGBUILD and deskreen.desktop files in it

does it mean it works now? I'll try to trigger GH workflow manually then

sonuishaq67 commented 3 years ago

yes it works now

there was no mistake in aur private key in secrets?

pavlobu commented 2 years ago

@sonuishaq67 sorry for delay in response. Seems our github action workflow is not working properly for creating package on AUR https://github.com/pavlobu/deskreen/runs/6684942679?check_suite_focus=true

Do you happen to know what is the problem?