-
gitomat
[illumos-gate] 17182 libc: cleanup *printf code duplication -- Hans Rosenfeld <rosenfeld⊙gho>
-
nomad
I'm going to regret asking this but I already regret needing to ask. We have a new grant coming in and need to comply with their security requirements. One of them is "The Contractor (and/or any subcontractor) must protect all government information that is or may be sensitive by securing it with a solution that is validated with current FIPS 140 validation certificate from the NIST CMVP.
-
nomad
"
-
nomad
anyway, I don't suppose there's any such certificates for, e,g the cryptographic modules in Illumos?
-
nomad
especially those used with ZFS.
-
richlowe
if there is, it would be via a distribution
-
richlowe
I don't think it's really possible for illumos to be fips140
-
richlowe
for a start, I'm pretty sure we'd have to ship a binary :)
-
richlowe
danmcd: you're probably a person who would know?
-
richlowe
jbk: and you're a person who would work somewhere that had a cert, if anyone did, I reckon
-
danmcd
<sigh> fucking gumbies...
-
nomad
I'm particularly concerned with OmniOS, as that's the distro we're using.
-
danmcd
WE DO HAVE some FIPS140 infrastructure in Encryption Framework per se...
-
danmcd
The cryptoadm utility provides subcommands to enable and disable
-
danmcd
FIPS-140 mode in the Cryptographic Framework. It also provides a list
-
danmcd
subcommand to display the current status of FIPS-140 mode.
-
jbk
we've licensed a FIPS140 certified crypto library and integrated it as a KCF module for zfs
-
jbk
in our product
-
danmcd
BUT TBH you want things outside of gate that do this. Like OpenSSL, etc.
-
jbk
(we also support FIPS140 certified self encrypting drives)
-
danmcd
I don't know how gumby-ish "The Contractor (and/or any subcontractor)" is about it, but I expect they're probably more-than-just-checkboxing.
-
jbk
there's all sorts of 'profiles' so just saying FIPS140 is a bit unspecific
-
danmcd
You'll need someone who speaks official-standards to tell you what to expect-and-not and what is required-or-not.
-
nomad
I'd like to honor the spirit as well as the wording, if that's at all possible.
-
richlowe
the spirit of fips140 is "we're pretty sure you implemented this right, but to be pretty sure we have decided to be Onerous and nonsensical"
-
danmcd
See jbk's idea of profiles. That should honor the spirit insofar as "Don't use DES, MD5 (even HMAC), SHA1, etc..."
-
jbk
danmcd: I thought garrett pulled a lot of that out since there was some closed sourced bits involved
-
richlowe
forbid anyone to read your data while wearing matching socks
-
danmcd
richlowe: in other words a fucking gumby.
-
danmcd
jbk: that might very much be true.
-
neuroserve
searching for "FIPS 140 zfs" finds at least quite a few people who have asked things in the same direction...
-
jbk
beyond that, it's you only use these approved mechanisms (e.g. I don't think chacha20/poly1305 is on the list)
-
richlowe
jbk: that would make sense, if I recall (at least at the time) they certify _binaries_ of implementations
-
jbk
and things like doing a self test at startup and basically not working if things fail
-
jbk
etc.
-
jbk
yes
-
jbk
so things like updates become tricky
-
jbk
since things like 'new behavior' require a new certification
-
danmcd
My first contribution to anything public/open-source-y (yes even before fixing a small sockaddr kernel bug in 4.4BSD Lite) was definitions 2 and 3 here:
-
danmcd
-
richlowe
I remember Val Fenwick had a lot of words about this, but some vague idea it might get better
-
jbk
though things that are bug fixes I believe do not
-
richlowe
but then I never had a reason to learn if it got better
-
danmcd
^^^ she's at Apple now (along with Mark)
-
danmcd
(And yes I know all about esr ... this was literally 30 or more years ago)
-
tsoome
the crypto bits we are using are from nss. not just nss, its like 14 years old nss.
-
nomad
the same contract also wants us to run SCAP, which - at least for Leeenux - demands automatic nightly patching.
-
nomad
so much for certified binaries.
-
nomad
"To ensure that the packages comprising the available updates will be automatically installed by dnf-automatic, set apply_updates to yes under [commands] section in /etc/dnf/automatic.conf."
-
danmcd
Left hand and right hand are at cross-purposes... that NEVER HAPPENS IN THE GOVERNMENT! (Even true in sane ones.)
-
alanc
I suspect any FIPS-140 stuff in the gate is for older revisions the government no longer accepts
-
richlowe
I would hope so alan
-
richlowe
nomad: I don't know of a pre-built way to get automatic updates, and I'm not 100% certain the exit status of pkg(1) tells you enough to do it thoroughly
-
nomad
Speaking of which, I don't suppose there's an openSCAP or equiv for Illumos/OmniOS by any chance? I haven't gotten around to looking yet but thought I'd ask here as a lazy shortcut. :)
-
richlowe
I don't know if you can tell if you need to reboot just from the exit
-
jbk
they have long tails though
-
alanc
we build & ship openscap in Solaris, so it should be buildable for illumos
-
jbk
FIPS140-3 is (relatively) new, and has a pretty decent backlog in terms of certification
-
richlowe
I would assume that would get worse before it gets better
-
nomad
$BOSS just told me to focus on the SCAP stuff so.. <shrug>
-
jbk
why if you look, lots of things tend to have disclaimers to the effect of 'certification in progress'
-
alanc
-
richlowe
-
alanc
yeah, you probably want that if you're on a distro using IPS
-
nomad
could I possibly be so lucky that there's an installable package? That would be a nice improvement on my day so far.
-
alanc
looks like OI dropped their openscap package years ago:
OpenIndiana/oi-userland #1430
-
alanc
an installable package? the solaris-userland one will only be installable on Solaris - you'd need to build from source for an illumos distro
-
alanc
the solaris-userland one also provides the framework, but the openscap benchmarks for the Solaris compliance & healthcheck tests are closed source and not provided there
-
andyf
richlowe - this is how I do itbloody% pfexec pkg update --parsable=0 -n | jq '."create-new-be"'
-
andyf
true
-
richlowe
clever
-
gitomat
[illumos-gate] 16151 want dprintf() -- Hans Rosenfeld <rosenfeld⊙gho>