#27 OpenBSD release key not present after installation

Closed
opened 6 years ago by and_who · 8 comments

The OpenBSD release key for which the current LibertyBSD is based upon should be retained as /etc/signify/openbsd-$VERSION-base.pub after installation. While this key is present in the installation image, it is not installed along with the rest of the system for some reason.

The OpenBSD key is required for verifying errata patches.

The OpenBSD release key for which the current LibertyBSD is based upon should be retained as `/etc/signify/openbsd-$VERSION-base.pub` after installation. While this key is present in the installation image, it is not installed along with the rest of the system for some reason. The OpenBSD key is required for verifying errata patches.

Would this explain why I am unable to add packages from a repository with pkg_add? (after exporting PKG_PATH)

Would this explain why I am unable to add packages from a repository with pkg_add? (after exporting PKG_PATH)
Jaidyn Ann commented 6 years ago
Owner

@tomlukeywood: That's exactly why.

This ties into #12-- really, a person shouldn't need to OpenBSD release keys at all. Because of errata and packages, though, still need to. Both are bugs. (Though the former, errata, has more to do with libertybsd-website, so I'll file it there.)

EDIT: Oh, and as a workaround in the meantime, just add openbsd-61-pkg.pub to /etc/signify. You can get it here.

@tomlukeywood: That's exactly why. This ties into #12-- really, a person shouldn't need to OpenBSD release keys at all. Because of errata and packages, though, still need to. Both are bugs. (Though the former, errata, has more to do with libertybsd-website, so I'll file it there.) EDIT: Oh, and as a workaround in the meantime, just add openbsd-61-pkg.pub to /etc/signify. You can get it [here](https://raw.githubusercontent.com/openbsd/src/master/etc/signify/openbsd-61-pkg.pub).

Thanks, I will try it.

Thanks, I will try it.

I have added openbsd-61-pkg.pub to /etc/signify but when i try to insatll packages with pkg_add i get the same error.

Is there something else i am not doing?

I have added openbsd-61-pkg.pub to /etc/signify but when i try to insatll packages with pkg_add i get the same error. Is there something else i am not doing?
Jaidyn Ann commented 6 years ago
Owner

@tomlukeywood: What exactly is the error you're getting?

@tomlukeywood: What exactly is the error you're getting?

here is the output: https://hastebin.com/asehalezis.pl

here is my /etc/installurl file:

https://ftp.libertybsd.net/pub/LibertyBSD

I have the file in /etc/signify:

cat /etc/signify/openbsd-61-pkg.pub
untrusted comment: OpenBSD 6.1 packages public key RWQbTjGFHEvnOckqY7u9iABhXAkEpF/6TQ3Mr6bMrWbT1wOM/HnbV9ov

here is the output: https://hastebin.com/asehalezis.pl here is my /etc/installurl file: https://ftp.libertybsd.net/pub/LibertyBSD I have the file in /etc/signify: cat /etc/signify/openbsd-61-pkg.pub untrusted comment: OpenBSD 6.1 packages public key RWQbTjGFHEvnOckqY7u9iABhXAkEpF/6TQ3Mr6bMrWbT1wOM/HnbV9ov
Jaidyn Ann commented 6 years ago
Owner

@tomlukeywood Try editing /etc/installurl, and set it to: "https://ftp.libertybsd.net/pub/LibertyBSD/6.1"

@tomlukeywood Try editing /etc/installurl, and set it to: "https://ftp.libertybsd.net/pub/LibertyBSD/6.1"

I still get some weird messages, but it seems to be working now thanks!

output: http://paste.debian.net/plain/1016685

I still get some weird messages, but it seems to be working now thanks! output: http://paste.debian.net/plain/1016685
Sign in to join this conversation.
No Label
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.