Slashdot Mirror


DoD team nears Security Validation of OpenSSL

tadelste writes "An important DoD program took a page from Open Source and Do-It-Yourself-IT (DIYIT) and applied for their own Security Validation. In this article Steve Marquess says:as a taxpayer, I felt very annoyed. But it made me realize a couple of things. First, if OpenSSL had been validated, then it was possible for us to do it again. Secondly, if we could do it we could save a lot of money for the program."

109 comments

  1. More cost effective by dogfart · · Score: 4, Insightful
    Looks like:
    • Government pays directly for certifying open source products
    • Private companies "use" the open source product in their own commercial (very expensive) offerings, pay for the certification, then sell the (largely open source) products at a substantial markup to the government
    You save a few pennies in the first option by no longer having the government pay for certification, but you lose many times over in the markup
    --

    "dope will get you through times of no money better than money will get you through times of no dope"

    1. Re:More cost effective by WNight · · Score: 3, Insightful

      If the government has an encrytion system they trust they don't bother buying products with a potentially flawed system, they simply run the unencrypted system over a VPN, or SSH.

      That way everyone saves. The applications can be developed more easily without redoing a specific encryption layer for every one. Nobody wastes money developing and verifying a redundant system.

      If the government simply accepted that contractors were going to base things on OpenSSL they'd need to verify every product, to make sure that nobody had accidently or intentionally, weakened it. By simply using the official signed and verified version they only have to trust their verification team once.

    2. Re:More cost effective by Anonymous Coward · · Score: 0

      Perhaps open source means less corruption?

      In an address to the American Constitution Society, former vice president Al Gore accused the Bush administration of undermining democracy through deception, the erosion of checks and balances and a misinterpretation and exaggeration of presidential powers. "This administration has not been content just to reduce the Congress to subservience. It has also engaged in unprecedented secrecy, denying the American people access to crucial information with which they might hold government officials accountable for their actions, and a systematic effort to manipulate and intimidate the media into presenting a more favorable image of the administration to the American people."

    3. Re:More cost effective by Anonymous Coward · · Score: 0

      I'm not sure that I follow exactly what you are saying, so at the risk of misinterpreting you...

      > ... simply run the unencrypted system over a VPN, or SSH.

      There's a lot more to crypto than securing communications. Signing audit log entries for example doesn't benefit from VPN or SSH, however it needs strong crypto and [psuedo] random number generation. The DoD wants to ensure that any products using these technologies are secure.

      > By simply using the official signed and verified version they only have to trust their verification team once.

      How do you gurantee that the official library is actually being used, or is being used properly? Simply verifying that it is linked in doesn't tell you much.

  2. Ironic by Pharmboy · · Score: 4, Insightful

    Since they are having to revalidate the same code others have already validated (albeit with some modifications) but its still a good thing to see DoD at least attempting to use my tax dollars smarter, by spending the time to formally validate open source software instead of buying proprietary software for hundreds of thousands of dollars, that contains basically the same code.

    Any time the Govt. decides to use Free software instead of MS stuff, I also sleep better at night, for several reasons.

    --
    Tequila: It's not just for breakfast anymore!
    1. Re:Ironic by Fweeky · · Score: 1, Insightful

      OpenSSL is not Free software. That'd be the GNU TLS library; OpenSSL is under a BSD-style license. Would you have prefered them to validate GNU TLS because it's Free?

    2. Re:Ironic by Markus+Registrada · · Score: 2, Insightful

      What's more ironic is that they won't be able to apply fixes, including security fixes, without going through the whole process again. Since they can't afford to do that, they will be running "secure" code with known security holes.

      It's too bad they didn't certify GNU TLS instead.

    3. Re:Ironic by jc42 · · Score: 1

      Not much irony there. Any DOD-validated commercial product will have to go through the same re-validation for every new version. If they don't, someone at the the DOD isn't doing their job (or is on the take).

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    4. Re:Ironic by cduffy · · Score: 4, Informative

      Perhaps you should RTFA. They isolated the security-sensitive parts such that most fixes wouldn't touch them, and thus could be applied without revalidation.

    5. Re:Ironic by Anonymous Coward · · Score: 0
      Any time the Govt. decides to use Free software instead of MS stuff, I also sleep better at night, for several reasons.

      I assume that you are American. If I were chinese or Al Qaieda, I would think that I would refer to see US government be on MS.

    6. Re:Ironic by Anonymous Coward · · Score: 0

      your point?

      afaik, the Chinese are heading in the direction of Linux while Al Q are Microsoft fans. Not that Redmondsoft will be using that in their customer testimonies.

    7. Re:Ironic by Pharmboy · · Score: 1

      OpenSSL is not Free software.

      BSD license qualifies as Free, according to the GNU project itself. So yes, OpenSSL is Free software.

      Software doesn't have to be GPL to be free, even RMS openly admits it. GPL is just his favorite brand of "free", since its his.

      --
      Tequila: It's not just for breakfast anymore!
  3. Re:microsoft not secure by LittleLebowskiUrbanA · · Score: 3, Insightful

    Maybe a couple of people in the gov't. The gov't is HUGE and full of all sorts of different people. Basically a microcosm of the American public, really.
    More than likely someone open minded enough to try and save money on his budget, or even an idealist :)

  4. Govt saving money? OMG! by SoTuA · · Score: 5, Insightful
    Nice to see somebody put a bit of sense in govt. spending. Why license for thousands what you can get for free? Go OpenSSL!

    BTW, this shows some of the GPL-camp fears: Too-free (as in BSD) code packaged into propietary apps... some people will not realize they can get the exact same code for free.

    (the debate on "in licensing from private outfit you are paying for support of that free code" is left to the reader ;)

    1. Re:Govt saving money? OMG! by ignavusincognitus · · Score: 1
      And how exactly does the GPL prevent those vendors from incorporating GPL material into their products?

      "Derived works", you'll say. Well, the whole point of this certification is that identically the same source is used, and this is checked at runtime by "cryptographic fingerprints". So there is no issue of changing the source code.

      A vendor will not risk submitting their income-producing work to the GPL because of the "derived work" clause, period. They will structure it so it is not derived work; for example, they'll interface in some other way that is considered OK by one of the GPL sub-sub-subclauses. Or they'll come up with a twisted maze of "give me your kernel header files and my installer may or may not be able to build you an interface to my video card".

      Alternatively, they'll just give up on using the GPL stuff in the first place. So, develop in-house, or use something with less restrictions.

    2. Re:Govt saving money? OMG! by SoTuA · · Score: 1
      And how exactly does the GPL prevent those vendors from incorporating GPL material into their products?

      They'll have to use it exactly as it is, or jump through hoops to interface it, or plain old use it without abiding with the terms of the GPL.

      Anyway, my post was not intended to stir controversy or argue the old GPL vs. BSD holy war, just pointing out that one of the GPL zealots' main fear was portrayed in the article.

  5. Summary misleading by pavon · · Score: 5, Informative

    That summary is potentially misleading because it leaves out the reason why he was annoyed. Here is the whole paragraph:

    Because OpenSSL has a BSD-style license, many vendors simply grabbed the source code and incorporated it into their proprietary products. Those vendors wanted literally hundreds of thousands of dollars in licensing fees. As Steve attests, "as a taxpayer, I felt very annoyed. But it made me realize a couple of things. First, if OpenSSL had been validated, then it was possible for us to do it again. Secondly, if we could do it we could save a lot of money for the program."

    So he was annoyed at vendors who he thought were ripping the governent off, not at the wastefullness of the government auditing OpenSSL as I read the summary to say.

    1. Re:Summary misleading by BarryNorton · · Score: 0, Redundant

      I agree, the summary is very poorly constructed.

    2. Re:Summary misleading by Vlad_the_Inhaler · · Score: 2, Insightful

      Validation is an expensive process, the vendors had to pay for it themselves so they were not necessarily 'ripping the government off'.

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
    3. Re:Summary misleading by BarryNorton · · Score: 1

      Yes, I'm sure they were just recouping their costs...

    4. Re:Summary misleading by 0racle · · Score: 1

      Heaven forbid someone makes money.

      --
      "I use a Mac because I'm just better than you are."
    5. Re:Summary misleading by BarryNorton · · Score: 0, Offtopic

      Catholic Church made all that effort with the gospels, they deserve to make a little cash out of it...

    6. Re:Summary misleading by antiMStroll · · Score: 2, Insightful
      "Because OpenSSL has a BSD-style license, many vendors simply grabbed the source code and incorporated it into their proprietary products. Those vendors wanted literally hundreds of thousands of dollars in licensing fees.

      Steve Marquess, the technical manager of DMLSS, had no issue with vendors making money, it was the means they chose that annoyed him. If everyone in government felt as he did, taxpayers like you and me would have a lot more money in our pockets.

    7. Re:Summary misleading by 0racle · · Score: 3, Insightful

      Yes they incorporated it into the product, meaning they aren't simply reselling OpenSSL libraries, but it is a part of a larger whole. Once again, quit whining about someone making money. Taxes won't go down simply because the government isn't spending as much money.

      --
      "I use a Mac because I'm just better than you are."
    8. Re:Summary misleading by BarryNorton · · Score: 3, Insightful
      [T]hey aren't simply reselling OpenSSL libraries, but it is a part of a larger whole

      In which case how could a validated OpenSSL be an alternative?

    9. Re:Summary misleading by antiMStroll · · Score: 2, Insightful
      "Yes they incorporated it into the product, meaning they aren't simply reselling OpenSSL libraries, but it is a part of a larger whole."

      Re-read the article. When the "National Security Agency promulgated a policy that required any military program using information assurance" to have NIST FIPS 140-2 validation, that "...led Steve Marquess, the technical manager of DMLSS, to the job of finding replacements for the OpenSSL libraries so prominently used in DMLSS." The article strongly implies their 'product' was a exactly a repackaging of the OpenSSL libraries because it's what Marquess was tasked to find.

      "Once again, quit whining about someone making money."

      Nowhere in my post did I express my opinion about making money, I simply relayed the opinion of Marquess. I have nothing against people making an honest living.

    10. Re:Summary misleading by WNight · · Score: 1

      They don't need to integrate it into their products. If they had a layered design you could use whatever encryption your organization trusted on top of the third-party software.

      That way these middle-ware companies wouldn't have to approve OpenSSL and they wouldn't have to pass the costs along. Cut out the middleman and everyone is happier because you get more product for less money, meaning you've got a more efficient economy. Considering this is something my taxes pay for, I like that.

      I'm glad to see a government agency making the right decision, opting for small software components they can combine to get a final product they want, instead of buying into some bloated attempt at lock-in. I'd be pissed if the armed forces stopped insisting on second-sourcing parts and signed a lock-in contract for spark plugs, or anything else. I don't have a problem with spark-plug makers making money from selling a product, but I want them to have to compete in an open market, like everyone else.

      Funny, a fiscal conservative whining about cutting out excessive government spending.

    11. Re:Summary misleading by BarryNorton · · Score: 0, Offtopic

      Which moron doesn't know the difference between analogy and moving off-topic?!?

    12. Re:Summary misleading by ozbird · · Score: 3, Interesting

      How many more of these rip-off stories before the BSD license is modified (or replaced with the GPL) to prevent commercial exploitation?

      While it may be good karma to freely share your code, there's no obligation for anyone using the code to be a good citizen and give back to the community. How do BSD developers feel about their taxpayer dollars being spent on software that they wrote, but almost certainly won't see one cent of it?

    13. Re:Summary misleading by Anonymous Coward · · Score: 0

      How many more of these rip-off stories before the BSD license is modified (or replaced with the GPL) to prevent commercial exploitation?

      Huh? Do you mean OpenSSL's use of the BSD license, or BSD in general. In the specific case of OpenSSL, the license specifically prohibits relicensing the software under the GPL. Actually not sure about the stuff done under the OpenSSL project, but everything that came from EAY had that restriction.

      In the general case, if you are licensing works under the BSD license and don't understand that this license allows commercial use (including closed source forks), it could only be your own fault, since this is a well known property of the BSD license. Personally, as the author of code of BSD licensed code which does have closed source forks (see here), I don't mind at all. I thought about it, and in the end decided that it simply wasn't something that mattered to me.

    14. Re:Summary misleading by dbullock · · Score: 1

      The fact that you got scored interesting shows just how culturally distanced the slashdot crowd is from reality.

      GPL isn't against profits. BSD isn't against profits. Many people choose the BSD license because they don't agree fully with the GPL agenda.

      People choose the BSD license because they are truly giving the software away without conditions and stipulations. They do understand that, and they don't mind if someone else turns a profit on it.

      If you've ever given someone money for a gift, do you complain when they don't spend it back on you???

      --
      http://www.bullnet.com
  6. I think this is a good thing. by Mysticalfruit · · Score: 4, Insightful

    In a lot of cases, when software is been written to do X thing, the DoD will goto lengths to write it from top to bottom.

    OpenSSL has proven itself worthy on the battle field of the internet.

    If by using OpenSSL, the DoD can design better systems faster that allow our troops to be more efficient (i.e. deadlier) and it costs us less money and the DoD returns any bugs it finds to the community, I don't see how this is a bad thing.

    --
    Yes Francis, the world has gone crazy.
    1. Re:I think this is a good thing. by WNight · · Score: 1

      This is the problem with using troops for security guards. The military is an organization that is supposed to be prepared to execute the government's mandate via any means necessary. They are supposed to be a last resort, but as appropriate for a last resort, are supposed to be very effective.

      We want soldiers to be incredibly deadly, because when we need to stop someone from doing something, we want our costs to be as low as possible, and to succeed as quickly as possible. We also want to have a seperate organization of election supervisors, security consultants, and others, for when the goal isn't to capture an area or kill an enemy.

  7. some thoughts by zoloto · · Score: 3, Interesting

    With OpenSSL being validated by the government as secure, it makes me wonder when SELinux will have it's own distro (something a bit thinner than fedore). this kind of stuff is great, i love it.

    1. Re:some thoughts by Anonymous Coward · · Score: 0

      It's already out--it's called OpenBSD!

    2. Re:some thoughts by zoloto · · Score: 1

      OpenBSD has SE Linux inside?
      Does FreeBSD ?

    3. Re:some thoughts by joe_plastic · · Score: 1

      Well I think that fedora might be the first of many distros that use SELinux. So it really doesn't make much sense for SELinux to have it's "own distro"; just like it doesn't make sense for the O(1) scheduler to have it's own distro. It's something that lots of them with just use.

    4. Re:some thoughts by Phragmen-Lindelof · · Score: 1

      Where does hardened Gentoo stand in all of this? I use Gentoo but have not tried hardened Gentoo. SELinux appears to be part of hG. Is Fedora (core 2?) older than hG?

  8. Re:microsoft not secure by Pharmboy · · Score: 4, Insightful

    yeah until its on 90% of desktops...then we'll see how secure it is

    You miss the point entirely. OpenSSL have already been validated, and the source has been seen by thousands of other people. THAT is what makes it more secure. Its proven and open. OpenSSL isn't a "desktop", its a library for encryption. Its released under a BSD license, so Microsoft could include it in every copy of XP if it so chose to. Its not platform dependent.

    And to further blow your smug theory away, any Unix like operating system will always be more secure than the current Windows systems by design. Its not an opinion, its a design choice that makes the software somewhat more difficult to use but gaining security. You CAN make a Unix like OS as insecure as a standard Windows install (hello Lindows) but you have to really try.

    It would be nice if the "yea, wait until more people use Linux" had a clue what they were talking about, especially since has exactly NOTHING to do with Linux. Linus, to my knowledge, has not contributed to OpenSSL and it OpenSSL will work just fine with no need for Linux.

    --
    Tequila: It's not just for breakfast anymore!
  9. good for this Steve guy by Vlion · · Score: 3, Insightful

    He is working on saving the US government money. Wish there were more guys like him in the US gov. For non-US readers : The US government has issues of spending bloat. They spend way too much on stuff. Us taxpayers don't like that. X_X

    --
    /b
    |f(x)dx = F(b) - F(a)
    /a
    1. Re:good for this Steve guy by cpghost · · Score: 2, Informative

      For non-US readers : The US government has issues of spending bloat.

      LoL! Name just one government worldwide that doesn't have that specific problem!

      --
      cpghost at Cordula's Web.
    2. Re:good for this Steve guy by BarryNorton · · Score: 1

      Yes, the only thing that doesn't generalise to Europe about those observations is the poor grammar!

    3. Re:good for this Steve guy by Dun+Malg · · Score: 1
      Yes, the only thing that doesn't generalise to Europe about those observations is the poor grammar!

      Yep, with the exception of the fact that they usually speak perfect english, most europeans are just like us! :)

      --
      If a job's not worth doing, it's not worth doing right.
    4. Re:good for this Steve guy by Anonymous Coward · · Score: 0

      The US government has issues of spending bloat

      This is as much of an understatement as saying a 50km asteroid hitting the earth may have some ecological ramifications.

    5. Re:good for this Steve guy by Anonymous Coward · · Score: 0

      Grammar 101: When choosing between "we" or "us," first drop the modifier.

      You failed to take this into consideration, and therefore have effectively said "Us don't like that."

      Yet you are correct in regard to your first assertion. The government spends way too much, and when they cut spending, they tend to keep the profits and spend them elsewhere. They start a new "Department of Homeland Security" or somesuch nonesense like that, and if profits exceed revenue, the taxes are merely increased to compensate for it.

      Surely there's a term for such a self-inflating beuraucracy. My vocabulary, however, is too narrow to discern it.

    6. Re:good for this Steve guy by Vlion · · Score: 1

      oops. I'll be better next time.

      I'll make a new work- bloaterment.
      Goverment that auto-bloats. ^_^

      --
      /b
      |f(x)dx = F(b) - F(a)
      /a
  10. Lemme get this straight ... by jc42 · · Score: 3, Insightful

    They knew that OpenSSL had already been validated by several commercial vendors. So validating OpenSSL by itself should be a slam-dunk after they'd already done it N times. But suggesting that they just use OpenSSL for free rather than paying a commercial supplier for it is an "out of the box move" that "took guts"? As Dick Cheney might ask, WTF?

    Furthermore, it would be a big surprise if other parts of the military didn't have copies of OpenSSL lying about on a few thousand machines already, so they wouldn't even have to go through the motion of downloading and verifying the public version. I'd bet that it's already mirrored on any number of .mil sites.

    How can this idiocy be explained, other than by the theory that they shouldn't get something for free if they can spend money for the same thing and support a campaign contributor?

    It does sorta go along with the old stories of the Navy using Windows NT to control their hardware ...

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    1. Re:Lemme get this straight ... by WindBourne · · Score: 2, Interesting

      It does not work this way. The other companies took SSL and enhanced. We do not know if those enhancements were to get around weaknesses or for the companies marketers. Now, by validating a base, it will make it possible to lower the costs for all.

      Now if the Linux community would take a base system and run it through all this and then add their own stuff. That would improve everybodies lot

      --
      I prefer the "u" in honour as it seems to be missing these days.
    2. Re:Lemme get this straight ... by steveha · · Score: 4, Insightful

      suggesting that they just use OpenSSL for free rather than paying a commercial supplier for it is an "out of the box move" that "took guts"?

      Yes.

      We are talking about a huge bureaucracy here, one that has procedures established. These guys bucked the procedures and did something different, rather than doing the safe and expected thing. I can well believe that this took guts.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    3. Re:Lemme get this straight ... by Pharmboy · · Score: 1

      I was going to reply myself, but you put it well. The first rule of any Govt. employee is "don't get fired", and if you always take the safe way, you don't get fired.

      --
      Tequila: It's not just for breakfast anymore!
    4. Re:Lemme get this straight ... by zogger · · Score: 1
    5. Re:Lemme get this straight ... by cfuse · · Score: 1
      We are talking about a huge bureaucracy here, one that has procedures established. These guys bucked the procedures and did something different, rather than doing the safe and expected thing. I can well believe that this took guts

      Today's radicals are tomorrow's conservatives.

    6. Re:Lemme get this straight ... by Anonymous Coward · · Score: 0

      .ph ? lol.. thats the phillipean government, not united states

    7. Re:Lemme get this straight ... by zogger · · Score: 1
      well, son of a gun! excuse me, I seems to have missed that. whoops! Let me look further, just for grins...

      US of A brand army.mil not as interesting as the phillipines link, it is meagre

      no idea how I missed that domain extension previously, so exc-u-u-u-u-u-se me!

    8. Re:Lemme get this straight ... by Dravik · · Score: 1

      There is a reason that most pencil pushers in the government really like expensive sofware. When something doesn't work its the vendors fault. Can't blame them. Not at all. They spent a lot of money on the product so the problems can not not not not be their fault.

      --
      The purpose of language is communication, If the idea is clear the grammar ain't important
    9. Re:Lemme get this straight ... by jc42 · · Score: 1

      Heh; I think you might have the "logic" right.

      Of course, there's also the venerable management principle that the more money (and people) you're in charge of, the more important you are. The capitalist ideologs like to claim that this is solely a problem in government. In fact, it's a generally-recognized management problem in all human organizations, and affects the corporate world as badly as any government.

      It's interesting that so much linux/OSS/free-software news is coming from governments. It does seem easier to overcome this "the more I spend the better" attitude in governments than in private businesses. Probably because there's public oversight over at least some parts of some governments. Not nearly enough oversight, of course, but a lot more than what you find in the corporate world.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  11. It's not a ripoff. by Eevee · · Score: 2, Insightful

    Remember, he spent 18 months getting just the OpenSSL libraries accredidated. If a company had two people assigned to the task of accrediting both product and the incorporated OpenSSL for a year; and if we assume 50K/year per person--that's a hundred-thousand before the company makes any profit. (And we're skipping the overhead of the manager, their office space, etc.)

    The fault here is in the government not having a pre-approved solution for the vendors to use.

    1. Re:It's not a ripoff. by vsprintf · · Score: 1

      The fault here is in the government not having a pre-approved solution for the vendors to use.

      Are you seriously suggesting that the government should validate software and then buy a repackaged version from a vendor? Are you a member of Congress?

  12. Re:microsoft not secure by Anonymous Coward · · Score: 3, Interesting

    And to further blow your smug theory away, any Unix like operating system will always be more secure than the current Windows systems by design

    I have to disagree on this point. Windows XP/2000 has a fairly sophisticated system of permissions even though programmers and users alike tend to misuse or fail to use them. I think the major windows security problem is poor choice of default access control settings, not a lack of capability to make and enforce settings. That's something that Microsoft can (and probably will) fix over time without rewriting the entire OS.

    Just to be sure I'm not missing anything, can you give an example of a by-design security feature that Unix has but Windows doesn't?

  13. Re:microsoft not secure by xanadu-xtroot.com · · Score: 1, Informative

    It would be nice if the "yea, wait until more people use Linux" had a clue what they were talking about, especially since has exactly NOTHING to do with Linux.

    Look, I'm a die-hard Linux user (that even boarders on Zealot). I've been using "Linux" for 7 or so years now (RH 5.1 is the first "Linux" I tried). THe "yea, wait until more people use Linux" people are right.

    Sure, OK, all teh source code to everthing on this machine is out there (well, except for the nVidia module, but...), but if only something like 10% of all teh computer users on this even use "Linux", that would leave a tiny percent of people that actually understand the ccode enough to validate it.

    Again, I've been using this OS for a good few years, and I can honestly say I'm no coder. OK, I can hammer out some really simple "Hello World" programs in a few languages, but that doesn't mean I can validate the Kernel...

    --
    I'm not a prophet or a stone-age man,
    I'm just a mortal with potential of a super man.
  14. more irony by akb · · Score: 3, Insightful

    After spending much effort scaring developers in the US out of working on open source crypto with its munitions export laws the DoD is now "importing" and spending money certifying munitions grade encryption from abroad. Same for the NSA with OpenBSD.

    1. Re:more irony by Vlad_the_Inhaler · · Score: 1

      That surprised me - yes, the project appears to be operating out of Munich, if traceroute is any guide.

      sweet.

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
    2. Re:more irony by akb · · Score: 1

      The guy they hired to do the code changes for certification, Ben Laurie, lives in the UK.

  15. Code fixes? Trustworthy compiler used? by chiph · · Score: 4, Insightful

    What happens when OpenSSL makes a code fix? Does it all have to be re-validated? Do they supply a signed MD5 hash that says: "These sources are authorized for compiling a FIPS-140 compliant binary"?

    There was a comment here on slashdot in the past few months (can't find it now) about if you want to create trustworthy code, you first need to trust every layer below it, and every tool used to create it. Did this team use a validated build of gcc to create their OpenSSL binaries?

    Chip H.

  16. OpenSSL *is* Free Software by lordcorusa · · Score: 4, Informative

    I really hate to get pedantic, but OpenSSL is Free Software. According to the Free Software Foundation, the OpenSSL license is a Free Software license incompatible with the GPL.

    What you should have said is that the Free Software Foundation recommends developers use the GNU TLS library, but using OpenSSL in non-GPL projects is perfectly okay. Remember, GPL licensed software is only a subset of Free Software.

    --
    The preceding comments reflect the author's personal opinion and are public domain, unless explicitly stated otherwise.
    1. Re:OpenSSL *is* Free Software by Fweeky · · Score: 1

      Fair enough. I guess the confusion arrises because the "Free Software Movement" typically refers only to GPL licensed stuff. I can certainly remember reading articles by such people as RMS whinging about the term "Free Software" being diluted by other less restrictive licenses, but that was so long ago I really don't remember the details.

      A little surprised OpenSSL isn't GPL compatible. Kind of ironic that it's compatible with closed source apps like my favourite SSH client but not with GPL software.

    2. Re:OpenSSL *is* Free Software by ZeroZen · · Score: 1

      Free Software can be copied and modified and sold if you want, distributed in any way you want because it's just that. Free.

      GPL software is protected and can't be modified then sold for money without offering it for free (or for a small price to cover media costs) and must be shipped with source. I think.

      It's licenses are incompatable, not the software itself. Important distinction here.

    3. Re:OpenSSL *is* Free Software by Fweeky · · Score: 1

      Er, that's the point; you can't use OpenSSL in a GPL app, even if you're just dynamically linking the library in. The GPL wants to spread to cover the linked in library, but can't because the Apache license includes restrictions which aren't in the GPL -- much like the original BSD license.

      Sorry, did I come across as someone who doesn't know what these licenses mean?

    4. Re:OpenSSL *is* Free Software by Pharmboy · · Score: 2, Interesting

      A little surprised OpenSSL isn't GPL compatible.

      It is GPL compatible. See this. Any software that used a modern BSD license (without the advertising clause) is GPL compatible.

      The bitch is from BSD authors, because you can include BSD code into GPL projects, but you can't include GPL code into BSD projects. This is because BSD allows you to NOT release code for distributed binaries, and this is not allowed in the GPL.

      BSD is actually MORE Free than GPL (as an author, you can take other BSD code, make programs, and NOT release your code if you want), but the GPL offers better protection for users, because if you distribute the binaries, you MUST provide access to the source.

      --
      Tequila: It's not just for breakfast anymore!
    5. Re:OpenSSL *is* Free Software by Fweeky · · Score: 2, Informative
      Direct from said page:
      The license of OpenSSL is a conjunction of two licenses, One of them being the license of SSLeay. You must follow both. The combination results in a copyleft free software license that is incompatible with the GNU GPL. It also has an advertising clause like the original BSD license and the Apache license.

      Has this changed? The FAQ suggests things are a little shaky.

      Not that I much care; BSD's my preferred license, FreeBSD is my preferred OS, so it's all good. Makes a change from the opposite being the problem (GPL code in BSDish apps).
    6. Re:OpenSSL *is* Free Software by Pharmboy · · Score: 2, Interesting

      Has this changed? The FAQ suggests things are a little shaky.

      Hmm, you are correct, it is not as clear as I thought. Fortunately, SCO is expending a lot of energy to make licensing and the GPL much more clear for the future... :)

      I am between the two. BSD is easier to like, but GPL does seem to give more protection that MS wont take your code and get rich from it without putting back into the community. The problem with sharing software on "the honor system" is not everyone is honorable. Its hard enough to get Linksys to comply with the GPL on their routers.

      --
      Tequila: It's not just for breakfast anymore!
    7. Re:OpenSSL *is* Free Software by Dwonis · · Score: 1
      GPL software is protected and can't be modified then sold for money without offering it for free (or for a small price to cover media costs) and must be shipped with source. I think.

      Sorta, but not really. I could paraphrase it here, but I think quoting the actual text is more effective:

      3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

      a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)

      I recommend you read the entire text of the GNU GPL. Unlike some EULAs, it's actually quite clear and readable.

    8. Re:OpenSSL *is* Free Software by KutuluWare · · Score: 1

      No, this hasn't changed. Since you are using FreeBSD you can look for yourself: /usr/src/crypto/openssl/LICENSE In fact, *both* licenses contain the advertising clause, plus the OpenSSL license contains restrictions on what you're allowed to name your derivative works. I suspect that this part also goes against the GPL. Having said all that, its possible that the government would prefer not to use a "forced-free" library when a "leniently-free" one is available. The line between "internal use" and "distribution" for an organization as large as the military is pretty blurry. Crossing over that "distribution" line is what trips the GPL into effect, and that might be problematic.

  17. Re:Code fixes? Trustworthy compiler used? by FireBook · · Score: 2, Insightful

    'What happens when OpenSSL makes a code fix? Does it all have to be re-validated? Do they supply a signed MD5 hash that says: "These sources are authorized for compiling a FIPS-140 compliant binary"?' and this is different from a proprietary product how?

    --
    My other OS is also FreeBSD
  18. Re:Code fixes? Trustworthy compiler used? by BarryNorton · · Score: 1
    What happens when OpenSSL makes a code fix?

    Probably same thing as when a commercial vendor has to amend their library; you either stick with what you had (if the change is non-critical), revalidate or ignore the issue.

  19. cryptographic fingerprints by artg · · Score: 3, Interesting

    "Usually with FIPS 140 validation the vendor supplies binary code that is validated as if it were distributed to customers. FIPS 140 requires a runtime integrity check of the binary code. But open-source software is distributed in source code form. The trick here, then, was to produce a mechanism by which cryptographic fingerprints could be chained from the original source code all the way to the final runtime executable."

    This sounds a very useful technique for any software that's verified in source form but deployed in binary form : voting machines and Formula 1 ECUs come to mind. Anybody know if there are more details of how they solved it ?

  20. Re:Code fixes? Trustworthy compiler used? by joe_plastic · · Score: 1

    The article made it sound like they selected a few critical files(but not all or even most) -- "...sequester the critical parts of the source code so they would not be modified in the course of routine maintenance." .

    It also sounds like the used MD5 or SHA1 to validate what exactly must not change -- "...produce a mechanism by which cryptographic fingerprints could be chained from the original source code all the way to the final runtime executable.".

    And nope they did not test gcc or validate that the code had unspecified or undefined behavior spots in it that could even legitimately cause a compiler to generate binaries that produce different results.

    Most of this is just "red-tape".

  21. Source code validated by JDisk · · Score: 4, Insightful
    First, kudos to the guy who took the hard way just to save the taxpayer some money. We need more people like him.

    But technically the interesting point of the certification id that they managed to get the source code certified. There is at least one other open souce product Crypto++ that is also FIPS 140.2 validated (Certificate #343). But they only managed to get a compiled package validated, which does help me to trust the code but not really to "sell" the library to PHBs. The article doesn't really go into how they did get NIST to validate the source code. Anybody know more details?

    1. Re:Source code validated by BACbKA · · Score: 1

      BTW, is it true that once you certify source code it means you have to also certify the compiler and the OS (host and target) to make it useful? Smth leads me to assume that linux+gcc combination has a long way to go towards this... :(

      --

      VKh

  22. Too bad the Army can't use it: by mgargett · · Score: 3, Insightful
    It's too bad that the Army still won't be able to use it. If you look at Army Regulation 25-2 Section II, subsection 4-6, subsection k states:

    k. Use of "shareware" or "freeware" is prohibited unless specifically approved through IA personnel and by the DAA for a specific operational mission requirement and length of time when no approved IA product exists. Notify NETCOM RCIOs and the supporting RCERT/TNOSC of local software use approval.

    Thus, unless the local designating approving authority (DAA) is willing to accept the risk of the software, and it is a mission requirement when no approved software exists (which SSL does), the DA won't be using it anytime soon. The biggest problem will be that the DAA's will not want to accept local risk when another product that will do the job, and is approved will work.

    This regulation, while good intentioned, is really difficult to live with. Try finding a good non-freeware spyware remover. It's not easy.

    1. Re:Too bad the Army can't use it: by stratjakt · · Score: 1

      It specifies shareware and freeware, freely downloaded binary form softwares.

      It says nothing about incorporating BSD licensed code in their in-house development.

      --
      I don't need no instructions to know how to rock!!!!
    2. Re:Too bad the Army can't use it: by sik0fewl · · Score: 1

      This regulation, while good intentioned, is really difficult to live with. Try finding a good non-freeware spyware remover. It's not easy.

      Well, AdAware is pretty kick ass: http://www.lavasoftusa.com/purchase/business/

      --
      I remember when legal used to mean lawful, now it means some kind of loophole. - Leo Kessler
  23. Re:microsoft not secure by Timothy+Brownawell · · Score: 0, Redundant
    yeah until its on 90% of desktops...then we'll see how secure it is

    And to further blow your smug theory away, any Unix like operating system will always be more secure than the current Windows systems by design. Its not an opinion, its a design choice that makes the software somewhat more difficult to use but gaining security. You CAN make a Unix like OS as insecure as a standard Windows install (hello Lindows) but you have to really try.

    ...But because it makes software harder to use, it's not going to *be* on 90% of desktops until they drop the security. Or until someone makes the security not interfere with use, in which case Windows would suddenly get much better security.

    Tim

  24. Re:microsoft not secure by HermanAB · · Score: 3, Insightful
    'would leave a tiny percent of people that actually understand the ccode' It doesn't matter how many people use the code. The only thing that matters is the number of people that can change the code.

    Linux is used in millions of embedded products. Embedded products probably outnumber desktop use by at least 100 to 1. The reason for its popularity in embedded products is the networking stack, the security layers, the routing, the filtering and to a lesser extent, the multi tasking and all these embedded developers are looking critically at Linux security, since nobody wants to buy an embedded product that hangs up every couple of hours.

    Linux security is multi layered. It doesn't matter much if some gee wizz seldom used desktop app has a security hole - the attacker has to get through the TCP/IP stack, iptables, tcpwrappers and portsentry/snort first. That is where the security of Linux lies.

    The difference with MS Windows is that it doesn't have the equivalent of iptables, tcpwrappers or portsentry and it also has a tightly built in browser with more holes than a swiss cheese.

    The result is that it doesn't matter how good the underlying Windows kernel is - there is virtually no security around the Windows core system and that is why it is easy to breach.

    --
    Oh well, what the hell...
  25. Re:Code fixes? Trustworthy compiler used? by molo · · Score: 2, Insightful

    OpenSSL is not gcc-dedpendant. Pretty much any C compiler will work. I'm sure there are compilers out there that are already proven for DoD use.

    -molo

    --
    Using your sig line to advertise for friends is lame.
  26. Re:microsoft not secure by Pharmboy · · Score: 2, Insightful

    but if only something like 10% of all teh computer users on this even use "Linux", that would leave a tiny percent of people that actually understand the ccode enough to validate it.

    Compared to how many that have seen Microsoft's?

    I don't read the source code either, but many do. I feel better with people from dozens of countries looking over code, than just a couple hundred in Redmond. I can also read the opinions of many people who do use Linux, and I can compile and run any version of the kernel I want, with any features I want, and I am not a programmer either. Its not that hard. ( I do a little more than "hello world" programs, but still a novice programmer.)

    I don't hate Windows (Im typing this on an xp laptop now) but I realize the shortcomings of it. I also have reasons to think that Microsoft believes in a degree of "security through obscurity", which I feel is dangerous.

    --
    Tequila: It's not just for breakfast anymore!
  27. Re:microsoft not secure by Anonymous Coward · · Score: 0

    seriosuly do you believe windows as easy to use?

    i dont, watch an average user sometime, its not easy for them either.

  28. Yes. by Eevee · · Score: 1

    That's exactly what I am suggesting.

    However, if you've never dealt with the government, you may be assuming the vendor would charge just as much for a pre-approved version as a version in which they have to redo the validation effort. Strangely enough, the government has a person, the Contracting Officer, who should monitor the contract and will (o.k., should) disallow this. Instead, the vendor would be allowed a modest fee for the cost of documentation and any further required testing.

    1. Re:Yes. by vsprintf · · Score: 1

      I've worked on a number of federal government contracts. I'm well aware of what contract officers do, and they don't inspect code to determine its origin. Why should the government validate the free software (which is what you are apparently suggesting) and then pay the vendor to hand them a repackaged copy of said software, which is what the article is talking about? The software is free to begin with. If you're not in Congress, you must be CEO of EDS.

  29. You need to work with better COs or COTRs. by Eevee · · Score: 1

    and they don't inspect code to determine its origin

    You'd have to be pretty dense not to notice the origin of the software if the document the vendor hands you for validation says exactly where it comes from. And even denser to allow a vendor to charge a man-year or two's worth of time for validation efforts if the documentation says the software had already been accreditated by the government for the level of security required by the contract.

    On the other hand, if they don't use the pre-validated software, then they're unlikely to win the bid to develop the new system, since the competing vendors can undercut them by hundreds of thousands of dollars.

    -------

    Stepping back, we are not talking at the same level. The article isn't about charging for free software, it's about charging for validating that the free software is secure enough for medical data. Somebody has to do it--either the government does it once and lets the vendors use that accreditation and charge the appropiate amount of fees (which would be measured in man-weeks) or let each and every vendor revalidate the software and pay those vendors for duplicating work over and over again. There isn't some ripoff happening, it's simply the government keeps paying for the same work over and over again because it doesn't reuse the previous validation efforts.

    1. Re:You need to work with better COs or COTRs. by vsprintf · · Score: 1

      You'd have to be pretty dense not to notice the origin of the software if the document the vendor hands you for validation says exactly where it comes from.

      We deliver code to the government all the time, and the government expects it to be ours. From the article:

      Because OpenSSL has a BSD-style license, many vendors simply grabbed the source code and incorporated it into their proprietary products. Those vendors wanted literally hundreds of thousands of dollars in licensing fees.

      Stepping back, we are not talking at the same level. The article isn't about charging for free software, it's about charging for validating that the free software is secure enough for medical data. . . . There isn't some ripoff happening . . .

      We certainly seem to be on different levels. To me, your original and subsequent comments suggest that the government should validate OpenSSL and then pay vendors to repackage it and sell it to the government. The OpenSSL libraries, or an equivalent, were the only requirement for the project being discussed in the article.

      I have a really tough time defending the feds in any case, and I see your point about duplication of effort, but your own estimate for validation was [?] man weeks. Is that worth "hundreds of thousands" of dollars to license free (as in beer and as in libre) software, or is it a ripoff? I'll bet on the latter. I once worked for a contractor who did a project for the government (not a DoD contract), and since the code was available under the FOIA, repackaged it and sold it again to the Chinese. American companies are not above ripoffs (see Enron, WorldCom, Qwest, Arthur Andersen, Northwestern Power, CA, Haliburton, and any number of defense contractors who've been fined for overcharges.).

  30. Re:microsoft not secure by NuclearDog · · Score: 1, Informative

    Requiring an executable flag to be set on a file before it can be executed, rather than executing all files that end in .scr, .exe, .com, etc. no matter where they came from?

    ND

    --
    This statement is forty-five characters long.
  31. Re:microsoft not secure by Phragmen-Lindelof · · Score: 1

    For the user of an installed linux system, why do people feel that s/he would have difficulty?
    If you use gentoo, getting and using "updates" or adding new software is easy; portage does the work for you. If you want to "surf the internet" or use e-mail, linux is very easy to use. Please explain this whole issue of ease of use to me.

  32. Re:How can you validate a flaweed product twice? by Anonymous Coward · · Score: 0

    every ssh-2 block,

    The article is about SSL, not SSH.

  33. Many reasons NOT to use OpenSSL by Anonymous Coward · · Score: 0

    I'm fairly surprised so many people like OpenSSL.

    First, it's licence contains an advertising clause. So yes, sure, many (MANY) companies rip off the code of OpenSSL but do not advertise for it on their advertising material, making the use illegal (no big deal until someone at decides to react).

    The security history of OpenSSL is fairly poor. It is patched way too often for a security product. The code itself is fairly unreadable. The only really nice thing is OpenSSL are the optimized assembly implementations of the symetric algorithms...

    Anyway, I know at least one country in Europe where OpenSSL == (automatic non-validation for the product)...

  34. Re:microsoft not secure by xanadu-xtroot.com · · Score: 1

    I feel better with people from dozens of countries looking over code, than just a couple hundred in Redmond.

    Man, hands-down. No argument there. That's most of the reason I use and support "Linux". *ANYONE* can see what Under-The-Hood(tm).

    You are nothing but 100% right (in my eyes anyway). The main "selling point" that Open Source has to offer is the fact that it's *NOT* centralized.

    --
    I'm not a prophet or a stone-age man,
    I'm just a mortal with potential of a super man.