Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install beidconnect because repository checksum doesn't match #2

Open
rcannood opened this issue Apr 17, 2024 · 1 comment
Open

Comments

@rcannood
Copy link

I don't know whether this is the correct place to post the issue I encountered. If not, it would be helpful if you could point me in the right direction.

Context: I wanted to sign a document with the Signing Box ( https://sign.fts.bosa.belgium.be/sign ). I really appreciate the FOD's efforts in developing this!

Install BeIDConnect to use Signing Box

The Signing Box website told me BeIDConnect needs to be installed:

Screenshot from 2024-04-17 10-31-47

"No BeIDConnect was found" after installing the rpm

After clicking "Download archive" for my distribution (Fedora 39), I installed the rpm that was downloaded ( https://eid.static.bosa.fgov.be/beidconnect-archive-fedora.rpm?dt=1713339188726 ). After it finished installing, the website still said "No BeIDConnect was found". I tried this with Firefox, Chrome, and even Microsoft Edge -- to no avail.

Eventually, I noticed that the rpm that was being installed dated from 2020:

$ dnf info beidconnect-archive-fedora
Installed Packages
Name         : beidconnect-archive-fedora
Version      : 2020
Release      : 1
Architecture : noarch
Size         : 2.3 k
Source       : beidconnect-archive-fedora-2020-1.src.rpm
Repository   : @System
From repo    : @commandline
Summary      : GnuPG archive keys and configuration of the BeIDConnect package archive
License      : MIT
Description  : This package contains the BeIDConnect repository GPG key as well as
             : configuration for dnf.

Searching for beidconnect fails

It seems this rpm package is not beidconnect, only the repository. I tried to search for a beidconnect package which I could install, but none were found:

$ sudo dnf install beidconnect
BeIDConnect package archive                                                                              2.2 kB/s | 494  B     00:00    
Errors during downloading metadata for repository 'eidlink-release':
  - Downloading successful, but checksum doesn't match. Calculated: 2f866c6ad12b00c53c9888539041a3958468a6ac269df6fd109b6011d06b3836(sha256)  Expected: a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: 82061a62251bb33fc53d68ed977706145188e647804761d7913f2e0881394b46(sha256)  Expected: eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: bc5c5c2437d63a79b2d71ea41eb0ad2dfe59e05a91ad84b857124791e322972a(sha256)  Expected: a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: 794f510f521eebce8dc398c447c86f8305e151f51b48111075336248bf19111d(sha256)  Expected: a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: 3467341e58ec7ccf34c52ba67142deae0eae186595b4e7d702c7805167727d9d(sha256)  Expected: eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b(sha256) 
Error: Failed to download metadata for repo 'eidlink-release': Yum repo downloading error: Downloading error(s): repodata/eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478-filelists.xml.gz - Cannot download, all mirrors were already tried without success
Ignoring repositories: eidlink-release
Last metadata expiration check: 0:25:16 ago on Wed 17 Apr 2024 10:19:14 CEST.
No match for argument: beidconnect
Error: Unable to find a match: beidconnect

$ sudo dnf search beidconnect
BeIDConnect package archive                                                                                                          2.2 kB/s | 494  B     00:00    
Errors during downloading metadata for repository 'eidlink-release':
  - Downloading successful, but checksum doesn't match. Calculated: 48468836bad3e8474cfe8961ab4cac9fc2093cac92140fff20d8c71d4b453a81(sha256)  Expected: a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: f05711ec4a7ba407abfe4735593c97771be9042658fd943a9876c02e0af468b2(sha256)  Expected: eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: f907602edb64358cef00032fab6b71eec6f84d1c2747fe35dfa785e257392e16(sha256)  Expected: eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: d7701875f2d43a15851343e6c94fea46a4f6590f7cd0a35f1f6b311b6ca1f23c(sha256)  Expected: eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b(sha256) 
  - Downloading successful, but checksum doesn't match. Calculated: 467e83f6025adb4bd283a46e917628dbc4c0225c0cc007377edacd9e478bd7c7(sha256)  Expected: a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478(sha256) 
Error: Failed to download metadata for repo 'eidlink-release': Yum repo downloading error: Downloading error(s): repodata/eb3619cd78e8feea9c47aab03dd4f1dbe1a1a3f3ca770bdd3786a4f96888ca7b-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/a1a22e6112638ddf21d744dacecb845f5cfecbe9a4d74b9367cf1c72417ab478-filelists.xml.gz - Cannot download, all mirrors were already tried without success
Ignoring repositories: eidlink-release
Last metadata expiration check: 0:17:56 ago on Wed 17 Apr 2024 10:19:14 CEST.
================================================================ Name & Summary Matched: beidconnect ================================================================
beidconnect-archive-fedora.noarch : GnuPG archive keys and configuration of the BeIDConnect package archive

Given the above error messages, I guess there is something wrong with the checksum when downloading the metadata for the beidconnect repository (which should also be renamed from eidlink-release to beidconnect-release?):

$ cat /etc/yum.repos.d/beidconnect-archive.repo 
[eidlink-release]
name=BeIDConnect package archive
baseurl=https://eid.static.bosa.fgov.be/rpm/fedora/$releasever
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-BEIDCONNECT-CONTINUOUS
enabled=1

# ...

Workaround: Manually install beidconnect

With the above information, I realised I could just download beidconnect from this location: https://eid.static.bosa.fgov.be/rpm/fedora/39/ . With this rpm installed, I could finally use Signing Box as intended.

User experience

From a user experience perspective, it was initially quite perplexing as to why the Signing Box said "No BeIDConnect was found" after having installed the RPM that is listed on the website itself. It would be great if the website would also list the commands that need to be used in order to install beidconnect, as this would help me realise that the rpm I'm installing only contains the repository and not the software itself. E.g.

sudo rpm -i beidconnect-archive-fedora.rpm
sudo dnf install beidconnect
@samvde
Copy link
Collaborator

samvde commented Apr 17, 2024

I will ask our support team to look into this and fix it. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants