jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.88k stars 92 forks source link

onedriver corp prepository signature check error bad key #261

Closed moriei2001 closed 2 years ago

moriei2001 commented 2 years ago

Hello, trying to install onedriver from corp repo but getting this error:

Error: Transaction test error: package onedriver-0.12.0-1.el8.x86_64 does not verify: Header V3 RSA/SHA1 Signature, key ID 5f915c16: BAD

jstaf commented 2 years ago

How did you install the COPR repo? Make sure that you have installed it via the dnf copr enable command, which will add the GPG key for you (make sure to select y to import the key when installing).

I tried this out just now on an Alma Linux 8 docker image and everything looks good:

[root@f80d935346e8 /]# cat /etc/redhat-release 
AlmaLinux release 8.6 (Sky Tiger)
[root@f80d935346e8 /]# dnf install dnf-plugins-core
[root@f80d935346e8 /]# dnf copr enable jstaf/onedriver
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.

Do you really want to enable copr.fedorainfracloud.org/jstaf/onedriver? [y/N]: y
Repository successfully enabled.

# then when you install onedriver, you should be prompted to import the key
[root@f80d935346e8 /]# dnf install onedriver

# output omitted for brevity

Copr repo for onedriver owned by jstaf                                           8.7 kB/s | 1.0 kB     00:00    
Importing GPG key 0x5F915C16:
 Userid     : "jstaf_onedriver (None) <jstaf#onedriver@copr.fedorahosted.org>"
 Fingerprint: 95C5 64A5 C43F FA7E 21CE EBBB B05E 8AC5 5F91 5C16
 From       : https://download.copr.fedorainfracloud.org/results/jstaf/onedriver/pubkey.gpg
Is this ok [y/N]: y
Key imported successfully