Skip to content

Extended group format

James Prestwood ell 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pem: add _from_data variants to pem APIsell/ell.sym ell/pem.c ell/pem.h+111 -401 reply
2/5unit/test-pem: add tests for new _from_data APIsunit/test-pem.c+163 -00 replies
3/5pem: expose is_{start,end}_boundaryell/pem.c pem-private.h+40 -40 replies
4/5settings: introduce extended groups conceptell/ell.sym ell/settings.c ell/settings.h+233 -51 reply
5/5unit/test-settings: add pem extended type testsunit/settings.test unit/test-settings.c+259 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Extended group format

Most of the details are explained in the patch notes, but the main reasoning for this is to allow embedding PEMs inside an l_settings file. We have found that some systems are provisioned with certificates in /home/<user>/.cert/. System services are not really intended to have access to /home (though this is not always the case), and for IWD we do not want to allow that. For this reason it makes a lot of sense to include the certs in the provisioning file. This also makes provisioning much easier from both an admin and user perspective as you just need to supply a single file rather than the network config plus certificates/keys.

James Prestwood (5):
pem: add _from_data variants to pem APIs unit/test-pem: add tests for new _from_data APIs
pem: expose is_{start,end}_boundary
settings: introduce extended groups concept unit/test-settings: add pem extended type tests

 ell/ell.sym          |   5 +
 ell/pem.c            | 152 ++++++++++++++++++++--------
 ell/pem.h            |   7 ++
 ell/settings.c       | 231 +++++++++++++++++++++++++++++++++++++++++-
 ell/settings.h       |   5 +
 pem-private.h        |  33 ++++++
 unit/settings.test   |  28 ++++++
 unit/test-pem.c      | 163 ++++++++++++++++++++++++++++++
 unit/test-settings.c | 234 ++++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 806 insertions(+), 52 deletions(-)
 create mode 100644 pem-private.h
Signature · 1 line
2.17.1