OpenBSD Moving Towards Signed Packages — Based On D. J. Bernstein Crypto
ConstantineM writes "It's official: 'we are moving towards signed packages,' says Theo de Raadt on the misc@ mailing list. This is shortly after a new utility, signify, was committed into the base tree. The reason a new utility had to be written in the first place is that gnupg is too big to fit on the floppy discs, which are still a supported installation medium for OpenBSD. Signatures are based on the Ed25519 public-key signature system from D. J. Bernstein and co., and his public domain code once again appears in the base tree of OpenBSD, only a few weeks after some other DJB inventions made it into the nearby OpenSSH as well."
I'm surprised that this wasn't implemented a long time ago. Even Windows has had signed code for quiet some time.
Sig: I stole this sig.
What does openBSD have to do with tattooing your Johnson?
Being limited by floppy disk support requirement sounds like a bad joke. Is that really relevant for any computer which is not hopelessly antiquated in 2014? For reference, Apple stopped shipping floppy disk drives by default in 1998.
Nah, too easy.
#DeleteChrome
I cannot find a back reference right now, but didn't DJB switch away from FreeBSD to Ubuntu precisely because of the signed packages?
I call bullshit: /usr/bin:
Copied right from
"-rwxr-xr-x. 1 person staff 744K Nov 11 2010 gpg"
Packed with upx --best: (note this runtime unpacks, there is no loader library etc)
"-rwxr-xr-x. 1 person staff 327K Jan 19 05:40 gpg"
I should note this is a static binary.
For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
I started using OpenBSD in 1998. It was a viable, timely competitor to Linux at the time, especially for building firewalls as such.
OpenBSD is a great example of what happens when you make life too difficult for end users and administrators in the name of Security. OpenBSD has never embraced the most recent release of anything -- if it's new, by definition it's insecure and it can't be trusted. Ergo, if you have to demonstrate the latest technology in whatever you're doing, you start with a Linux distribution.
From the article: "We wanted a tool that would fit on installation media, which meant minimizing code size and external dependencies." That's the breakage mode, in a nutshell. NO ONE in the world has been clamoring for an OpenBSD signing tool that runs on a floppy. But the designers are imagining the user requirements based on their own biases. This way lies the death of any commercial or open source software product.
Many members are up in arms over the large new utility: "Programmers these days with their fancy new computers and their gigantic 'five and a quarter' new-age magnetic spinning discs are constantly looking down on us 'old-fashioned' punch-card programmers. Why can't they write a new utility that supports six rows of 8-bit EBCDIC? Laziness. This just proves that OpenBSD don't care about small, home-built systems. Sixty four bytes is big enough for anybody."
Daniel
$ ls -lh `which gpg` /usr/pkg/bin/gpg
/usr/pkg/bin/gpg: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for NetBSD 6.1.2, stripped
/usr/pkg/bin/gpg: /usr/lib/libintl.so.1 /usr/lib/libgcc_s.so.1 /usr/lib/libc.so.12 /usr/lib/libz.so.1 /usr/lib/libbz2.so.1
-rwxr-xr-x 1 root wheel 892K Jan 19 06:09
$ file !$
file `which gpg`
$ ldd !$
ldd `which gpg`
-lintl.1 =>
-lgcc_s.1 =>
-lc.12 =>
-lz.1 =>
-lbz2.1 =>
$ uname -rsm
NetBSD 6.1.2 amd64
So your statically linked gpg binary is smaller than my dynamically linked gpg binary on the closely related NetBSD.
That does not seem legit, please run the commands I ran, on the not-upx'ed binary and post the results.
CLI paste? paste.pr0.tips!
I know dupes are a long time Slashdot tradition, so I'm asking: is this a dupe from 1995 or something? Because it sure feels like it.
Itanium was the platform where EFI was introduced in order to replace 16bit BIOSes. EFI later became UEFI, which virtually all desktop computers ship with. You were saying?
Floppies are almost exclusively dead. Tape is the only realistic backup media for large-scale, long-term, enterprise archival. It may not be fast, but it's relatively sane to work with and lasts for a long time if you've got an appropriate storage facility. Backups back to 7 years, minimum, etc.. The sort of thing you expect out of a law firm or International MegaCorp Inc.. Still big in the mainframe world.
I read a story about Theo having a hard time keeping all the servers running and hoped a company would pick up the tab --for no compensation.
No compensation besides a pretty rock solid server OS they can modify and use as they see fit you mean?
Those ATM companies could simply pick up OpenBSD for free and make it work. That would put 0 money in Theo's pockets. (and slow+secure is a hell of a lot more useful than fast+insecure when you are directly attached to the internet)
It seems to me you do not really know what you are talking about and just repeating some rumors you have picked up at random uninformed or biased blogs.
I'm not as familiary with RedHat or SuSe archives, but I did a little digging over at debian.org.
The debian-archive-keyring package changelog shows an initial release on 10 January 2006, or eight years ago.
Digging deeper, the devscripts changelog shows the signchanges program (now called debsign) was added in July 1999. The changelog entry implies that it was to aid an already existing signing system, so Debian has had it for about 15 years, possibly longer.
Now consider that Debian has a reputation as a late adopter.
Soon enough if they don't get donations totalling $20,000 to pay their power bill.
http://bsd.slashdot.org/story/14/01/15/1719244/openbsd-looking-at-funding-shortfall-in-2014
Seems the above poster knows almost nothing about openbsd, has formed an ignorant opinion and is arrogantly using that to accuse people of arrogance.
A lot of people use ports instead of packages. Packages are seen as the convenient alternative that is the inflexible and insecure way to install things.
This is probably because they want the signature checker to fit in the CD boot loader. For historical reasons, bootable CDs imitate a floppy during the initial boot process, and contain an image of a 1.44MB floppy with a FAT file system. When you boot an PC-type x86 machine from CD, that simulated floppy (the file "floppy54.fs" for OpenBSD) is read by the BIOS and a file from it is executed.
This process is so retro that the initial program loaded is executed in 16-bit X86 mode.
Verbatim still makes 1.44MB HD floppies. I guess people still need a fair amount of floppies for various niche applications, such as embedded gear or old PCs.
And asked why so many commercial operating systems still have nothing as advanced as the ZFS on *bsd in 2014.
It will take than long to get a greatly improved MS system win10, Windows RAP or whatever they want to call it.
It makes a grown man cry.
Its dead to me. I've turned my back on more than one project (security software, no less) because the author demanded I take a leap of faith with unsigned code.
Whatever you're talking about, it seems to have little to do with the matter being discussed.
CLI paste? paste.pr0.tips!
Many Steno Machines used by court reporters us Floppies.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
All 2 users of floppy drives were very happy, rest 5 didn't care.
Won't this increase their electricity bill?
Except for the preamble, not a single fucking comment in the entire source file.
Way to go....
I am sure it will be easily maintainable by someone else in the future and they won't make any mistakes..
Indeed, arc4random is ChaCha20-based in OpenBSD 5.5.
Slow and secure are not necessarily related. There are cases where OpenBSD is 1-2% slower because of some specific security feature, such as 100% PIE executables, but the real slow downs are from old BSD code which is slowly being reworked to be fast and efficient. There are only so many people and so many minutes in a day to make these improvements.
The general idea on Slashdot that OpenBSD is slow because it's secure is just plain WRONG. It's slow (less and less so, I might add) because it takes time to speed it up and that is a priority for some, not all, developers.
Great. Glad they did it.
Finally. BSD is just up to the late 1990s. RedHat had their RPM in 1997 and I think by 1999 even Microsoft signed their stuff. If it weren't for the done for FREE port for Apple, I think it would have died years ago.
Bring more stuff into the kernel and maybe I'll consider trying it again.
For what it's worth, it would seem like [a different kind of?] a package signature system was actually supported since 2010, it's just that the official packages were never signed.
http://www.openbsd.org/faq/faq15.html#PkgSig
Revision 1.71:
Sat Jul 17 09:02:47 2010 UTC (3 years, 6 months ago) by ajacoutot
Changes since revision 1.70: +65 -1 lines
Add a "Package signatures" section to teach people how to create and use
signed packages. Still opened for enhancement but all info is there now.