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 Fri, May 02, 2025 at 12:54:28PM +0200, Clemens Lang wrote:
> Hi,
> 
> > On 30. Apr 2025, at 19:54, Peter Pentchev <roam@xxxxxxxxxxx> wrote:
> > 
> > Is there a chance that there is some kind of mistake in your ~/.ssh/config file
> > saying something like "IdentityFile /path/to/id_rsa.pub" so that OpenSSH
> > would think that id_rsa.pub is a private keyfile and not a public one?
> 
> Note that this is actually a valid configuration for cases where
> the private key is in an HSM or other security module.

Ah, that actually makes sense, thank you! I don't have much experience with HSMs.

> I guess OpenSSH just doesn’t know whether the file is a private or
> public key by the time it checks the permissions, so in this case also
> the public key needs to have limited permissions.

Sounds like a reasonable consequence.

G'luck,
Peter

-- 
Peter Pentchev  roam@xxxxxxxxxxx roam@xxxxxxxxxx peter@xxxxxxxxxxxxxx
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
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