Under linux there is a package called "ubuntu-keyring" - it's for checking that the downloaded packages (from the offical repositories) are the ones that are on the server.

How can I do this under OpenBSD? How can I check that the downloaded package (via pkg_add - from the offical repo) is the one that is on the server?

UPDATE: is rsync good for the job??

  • Compare pkg_info -C <local file> to pkg_info -C <URL to master FTP or HTTPS site>?
    – Mikel
    May 6, 2012 at 19:08
  • 2
    Also, if the package is signed, pkg_add checks the signature by default
    – Mikel
    May 6, 2012 at 19:14

1 Answer 1


OpenBSD packages are not 'signed' at all by default.

If you are using OpenBSD in commercial environment, let your employer to buy release CD. Then you will get OpenBSD release with packages on CD which you can trust :-)

Better way, and if you are using OpenBSD seriously you should have it, is to have a build server. Sync OpenBSD ports from anoncvs - here you trust ssh fingeprint which is publicly announced - then build your own ports and sign them with certificate. With tool `dpb' it should be even much easier.

OpenBSD packages is secondary interest for the project as whole.

  • 1
    Since 5.5 packages are signed
    – user454322
    Aug 6, 2014 at 8:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .