1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Storing passwords in records/Authenticating IOC with other servers |
From: | Freddie Akeroyd - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov> |
To: | "gary.yendell at diamond.ac.uk" <gary.yendell at diamond.ac.uk>, 'Marco Filho' <marco.filho at ess.eu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 19 Jul 2024 16:35:52 +0000 |
Hi Gary, That’s a good point, and I think the answer is “maybe” – I tested just with a softioc and the monitor is triggered, but by the time the CA thread runs to publish the result the Db
value has gone back to “” . I wasn’t trying this with an actual asyn call in MY_RECORD, so that may cause a delay and it to behave differently. Regards, Freddie C:\Instrument\Apps\EPICS>camonitor MY_RECORD MY_RECORD <undefined> UDF INVALID MY_RECORD 2024-07-19 17:29:00.268839 MY_RECORD 2024-07-19 17:29:16.902356 From: Yendell, Gary (DLSLtd,RAL,LSCI) <gary.yendell at diamond.ac.uk>
Hi, Wouldn't a camonitor show MY_RECORD change to the password and back again with this? Cheers, Gary From: Tech-talk <tech-talk-bounces at aps.anl.gov>
on behalf of Freddie Akeroyd - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
Hi, does something like record(stringout, "MY_RECORD") { field(DTYP, "asynOctetWrite") field(OUT, "@asyn( … )") field(FLNK, "MY_RECORD_RESET") } record(stringout, "MY_RECORD_RESET") { field(VAL, "") field(OUT, "MY_RECORD NPP") } Work? The linked “MY_RECORD NPP” should clear the initial record value without processing it again (so not sending a blank password to asyn) Regards, Freddie From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Marco Filho via Tech-talk Hi, all This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please
notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source
Ltd. |