[consfigurator] Add pass data source

Sean Whitton spwhitton at spwhitton.name
Sat Feb 19 21:55:47 GMT 2022


Hello,

On Sat 19 Feb 2022 at 03:43pm -04, David Bremner wrote:

> [PATCH consfigurator 1/3] create package consfigurator.data.util
>
> The first two patches are refectoring so that I can use some of the existing
> code in patch 3/3. I added a new package "inside" consfigurator.data to hold
> the reused code.

Cool.

> [PATCH consfigurator 2/3] factor out gpg-file-as-string
>
> I did push the handler-case inside the outermost function call. I _think_ it's
> OK, but you'd know better than I.

Looks fine because UIOP:SAFE-READ-AS-STRING shouldn't ever signal
UIOP:SUBPROCESS-ERROR.

> [PATCH consfigurator 3/3] introduce the pass data store.
>
> In the end I decided it was not a great bother just to specifify
> "--user-passwd-foo" instead of "foo" in client code. It also avoids some
> collisions, although I don't know how likely those are.

I'm trying to think this through.  Will send some inline comments.

-- 
Sean Whitton



More information about the sgo-software-discuss mailing list