Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
Compare pkg_info -C <local file> to pkg_info -C <URL to master FTP or HTTPS site>? – Mikel May 6 '12 at 19:08
Also, if the package is signed, pkg_add checks the signature by default – Mikel May 6 '12 at 19:14
up vote 2 down vote accepted

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.

share|improve this answer
Since 5.5 packages are signed – user454322 Aug 6 '14 at 8:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.