On Wed, Apr 30, 2025, at 6:13 PM, Anirban Mitra via devel wrote:
> when i run command 
>   fedpkg pull
> I get the following warning 
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> Permissions 0644 for '/home/user/.ssh/id_rsa.pub' are too open.
> It is required that your private key files are NOT accessible by others.
> This private key will be ignored.
> Load key "/home/user/.ssh/id_rsa.pub": bad permissions
> u...@pkgs.fedoraproject.org: Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> Could not execute pull: Failed to execute command.
>
> I checked that id_rsa has permission 0600 and id_rsa.pub has permission 
> 0644 
> What may be wrong? 
> -- 

Public key should have -rw-r--r-- (0644)
Private key should have -rw------- (0600)
Which seems ok.  However, your public key seems to be recognized as a private 
key. Not sure why this is.
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to