Re: fedpkg considering public key as private and refusing to give access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
> use@xxxxxxxxxxxxxxxxxxxxxx: 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux