13:01:48 #startmeeting barbican 13:01:48 Meeting started Tue Oct 12 13:01:48 2021 UTC and is due to finish in 60 minutes. The chair is thelounge94. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:48 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:01:48 The meeting name has been set to 'barbican' 13:02:14 #topic Roll Call 13:03:48 Courtesy ping for ade_lee dave-mccowan d34dh0r53 hrybacki jamespage Luzi lxkong mhen moguimar raildo rm_work tosky xek nearyo oleksandry 13:03:56 #chair redrobot 13:04:03 o/ 13:04:16 #chair redrobot 13:04:16 Warning: Nick not in channel: redrobot 13:04:16 Current chairs: redrobot thelounge94 13:06:54 Hi, i have question on Barbican-HSM integration, mailed openstack-discussion but had no response. Could ask now or wait till the end for Q&A ? 13:08:22 rajiv hi I'll add your topic to the agenda 13:08:30 o/ 13:08:35 hi tosky! 13:08:38 OK, let's get started 13:08:46 #topic Review Past Meeting Action Items 13:09:12 #link https://meetings.opendev.org/meetings/barbican/2021/barbican.2021-10-05-13.01.html 13:09:16 We didn't have any 13:09:19 moving on ... 13:09:46 #topic Liaison Updates 13:09:58 tosky do you have anything for us? 13:13:03 nothing from my side 13:13:12 ack, thanks! 13:13:15 moving on 13:13:36 Topic Barbican+HSM integration 13:13:49 #topic Barbican+HSM integration 13:13:54 rajiv ^^^ 13:14:10 Hi, i am switching from soft crypto plugin to HSM backend 13:14:17 Thales A790 13:14:22 i am told Barbican uses self- generated IV instead of module generated IV which FIPS do not support and shows incorrect parameter error in FIPS mode. 13:15:45 is this fixed in Barbican ? or Barbican doesnt run if FIPS Operation mode is enabled ? 13:16:17 I had to google "Thales A790" Looks like it's the same as the Thales Luna Network HSM? 13:16:23 FIPS 140-2 L3 to be precise 13:16:43 yes, this is the latest device offered by Thales Luna Network HSM 13:16:50 yes, Luna A790 is the Thales Luna Network HSM, the Password based 13:18:14 https://cpl.thalesgroup.com/resources/encryption/openstack-barbican-integration-guide 13:18:14 Yeah, that seems right that FIPS mode does not work. I think we've documented that limitation. Let me look for a link 13:19:11 rajiv Oh yeah, I've seen that guide before 13:19:13 yes, you documented it, the question is: is it still the case? And why exactly, because it seems, that this restriction is only for Luna HSM. 13:19:26 rajiv open that PDF and scroll down to pre-requisites 13:19:35 > The OpenStack Barbican integration does not work with a SafeNet Luna HSM or 13:19:35 Data Protection on Demand HSM on Demand services operating in FIPS mode. 13:19:36 this Thales Integration Guide is quite old from 2019, we've some more actual 13:19:53 AFAIK there has bee no work done to add support to FIPS mode 13:20:02 yes, DPoD seems to work in FIPS Mode, and DPoD is Luna HSM 13:20:14 kim_s: thanks for reiterating the question 13:21:04 redrobot: yes, thats the page i am referring to, i would like to know why this restriction is in place 13:21:12 is there a workaround ? 13:21:43 rajiv probably because of the reasons you outlined with the IV being generated as you explained 13:22:19 the irritation is: Barbican with Luna HSM is per doku not FIPS Mode compatible, but Barbican with DPoD (which are Luna HSMs) are FIPS MOde compatible. Could we clearify this? 13:22:22 I do not know if there is a workaround. You might try setting aes_gcm_generate_iv=False, but I don't know if that would work or not 13:22:31 https://opendev.org/openstack/barbican/src/branch/master/barbican/plugin/crypto/p11_crypto.py#L98-L100 13:22:52 kim_s I am not familiar with DPoD 13:23:35 I'm from Thales, so I'm a little bit familiar with DPoD and Luna HSMs, but unfortunatle I'm not familiar with Barbican 13:23:54 okay, i will try. 13:24:17 kim_s gotcha. IIRC, the doc linked by rajiv was produced by Gemalto prior to being acquired by Thales 13:24:50 We (the barbican open source community) don't have access to HSM hardware for development, so that FIPS testing was done by Gemalto 13:25:22 in our documentation we do not mention DPoD 13:25:22 ah, ok, thx @redrobot 13:25:24 #link https://docs.openstack.org/barbican/latest/install/barbican-backend.html#thales-luna-network-hsm-safenet 13:25:31 Our note just says: 13:25:53 > Barbican does not support FIPS mode enabled for SafeNet Luna HSM or Data Protection on Demand HSM. Make sure that it’s operating in non-FIPS mode while integrating with Barbican. 13:26:08 oh, I guess we do mention DPoD 13:26:14 but our docs say we don't support that either 13:26:42 In any case, you mibhg be able to set that option to False and be OK. I think that's the flag that Barbican checks to decide whether to generate an IV or not. 13:26:52 You might also need to tune the Mechanism 13:27:00 I am not sure GCM is supported in FIPS? 13:27:16 the actual DPoD Integration Guide doesn't speak about FIPS Mode incompatibility: https://thalesdocs.com/dpod/services/integrations/other/openstack/index.html 13:28:07 again, that's your doc, not one produced by the community. πŸ˜… 13:28:35 but as I understood Barbican Community did not do the Tests with Thales HSM, so I try to get any response from our Proctuct Management - again :) 13:29:39 For historical context: Barbican was initally devleoped by Rackspace. We had Safenet Lunas to develop the system, but we were not able to make them available to our community for testing, so all testing was done downstream. 13:29:54 Rackspace did not use FIPS mode, so we did not test that 13:30:02 I believe only Safenet/Gemalto tested FIPS mode 13:30:25 Currently most of the core team works at Red Hat 13:30:47 okay, so other vendor HSM devices work well on FIPS mode ? 13:30:52 we also have downstream Lunas for testing, but we are also unable to make them available to the community for testing. 13:31:09 rajiv I don't know. I have not personally tested any HSM with FIPS mode enabled 13:31:46 rajiv kim_s, that said we'd be more than happy to review any patches to add FIPS mode support 13:32:02 I suggest start by tweaking the config options 13:32:51 redrobot: i will test this in my qa setup, would there be any config options to lookout for ? any downsides by setting it to true ? 13:32:53 e.g. turn of IV generation, and possibly change the mechanism to CKM_AES_CBC or something more compatible than GCM 13:32:53 https://opendev.org/openstack/barbican/src/branch/master/barbican/plugin/crypto/p11_crypto.py#L77-L79 13:33:14 rajiv yes, I linked the two options that are most relevant 13:34:25 sure, how about other plugins ? 13:34:40 rajiv all HSMs use the same plugin 13:34:51 KMIP ? 13:35:41 KMIP backend is not very well tested. I doubt FIPS is supported as we had the same situation where we had no HSMs for testing and were only using pykmip for testing. 13:36:19 Unfortunately the folks behind the KMIP backend (who had the downstream HSMs for development) are no longer contributing to the project 13:36:35 We can certainly review patches to add FIPS support to KMIP if needed. 13:37:00 ah i see, pkcs11 is the best best to start with i guess. 13:37:15 yes, pkcs#11 is the best option 13:38:06 maybe after testing the config options, etc i could raise a question/bug request for further assistance ? 13:40:43 Yeah, here or the mailing list are good places to ask kquestions 13:41:06 (although I haven't checked the ML in a few days an dmissed your email πŸ˜…) 13:41:25 thanks 13:41:33 rajiv you're welcome 13:41:39 OK, moving on 13:41:42 #topic PTG 13:42:10 #link https://etherpad.opendev.org/p/yoga-ptg-barbican 13:42:20 PTG is coming up next week 13:42:44 We have two sessions scheduled on Tuesday October 19 and Thursday October 21 13:42:59 both sessions start at 1300 UTC 13:43:13 #info weekly meeting next week is canceled 13:43:24 since we'll all be at the PTG 13:43:33 please sign up if you haven't yet. 13:44:13 Also feel free to add any topics you want to talk about to the etherpad I linked above 13:47:59 #topic Kanban Review 13:48:02 #link https://tree.taiga.io/project/dmend-openstack-barbican/kanban 13:49:35 not a whole lot of progress on my end 13:49:49 #topic New Bug Review 13:49:57 #link https://storyboard.openstack.org/#!/project_group/barbican 13:52:13 Looks like no new bugs 13:53:16 #link https://bugs.launchpad.net/castellan/+bugs?orderby=-id&start=0 13:53:20 and no new Castellan bugs 13:53:48 #link https://bugs.launchpad.net/cursive/+bugs?orderby=-id&start=0 13:53:55 and no new Cursvie bugs 13:54:11 #topic Open Discussion 13:54:22 We have a few minutes if anyone else has something quick to talk about? 13:55:42 rajiv please open a Storyboard bug about FIPS mode not working 13:59:06 That's all the time we have for today 13:59:10 thanks for joining, everyone! 13:59:12 #endmeeting