Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
2  
Also, if the package is signed, pkg_add checks the signature by default –  Mikel May 6 '12 at 19:14

1 Answer 1

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

Your Answer

 
discard

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.