gerrit-log
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
November 2026
- 1 participants
- 714 discussions
18 Nov '26
pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email )
Change subject: osmo_io: Refactor iofd_msghdr_alloc()
......................................................................
osmo_io: Refactor iofd_msghdr_alloc()
* flags can be passed during iofd_msghdr_alloc() as a parameter easily
rather than later on assigning it to the already created object, do so.
* msghdr has to be filled in differently mainly based on whether it is
to be used for read or write related operations. Hence, split the
allocation into 2 functions and fill as much as possible inside the
allocation function (eg. internal pointers from the iofd_msghdr to the
(sub) struct msghdr one.
This way all users of the iofd_msghdr alloction are simplified a lot.
Change-Id: I6552db468aaad7f638dade748f94a30255307f03
---
M src/core/osmo_io.c
M src/core/osmo_io_internal.h
M src/core/osmo_io_poll.c
M src/core/osmo_io_uring.c
4 files changed, 101 insertions(+), 111 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/44141/2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6552db468aaad7f638dade748f94a30255307f03
Gerrit-Change-Number: 44141
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1
0
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email )
Change subject: Refactor iofd_msghdr_alloc()
......................................................................
Refactor iofd_msghdr_alloc()
* flags can be passed during iofd_msghdr_alloc() as a parameter easily
rather than later on assigning it to the already created object, do so.
* msghdr has to be filled in differently mainly based on whether it is
to be used for read or write related operations. Hence, split the
allocation into 2 functions and fill as much as possible inside the
allocation function (eg. internal pointers from the iofd_msghdr to the
(sub) struct msghdr one.
This way all users of the iofd_msghdr alloction are simplified a lot.
Change-Id: I6552db468aaad7f638dade748f94a30255307f03
---
M src/core/osmo_io.c
M src/core/osmo_io_internal.h
M src/core/osmo_io_poll.c
M src/core/osmo_io_uring.c
4 files changed, 101 insertions(+), 111 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/44141/1
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c
index 83f3c05..a341b5c 100644
--- a/src/core/osmo_io.c
+++ b/src/core/osmo_io.c
@@ -136,15 +136,13 @@
/*! Allocate the msghdr.
* \param[in] iofd the osmo_io file structure
* \param[in] action the action this msg(hdr) is for (read, write, ..)
- * \param[in] msg the msg buffer to use. Will allocate a new one if NULL
+ * \param[in] flags Flags to set on the msghdr and be passed on its fd operations.
* \param[in] cmsg_size size (in bytes) of iofd_msghdr.cmsg buffer. Can be 0 if cmsg is not used.
* \returns the newly allocated msghdr or NULL in case of error */
-struct iofd_msghdr *iofd_msghdr_alloc(struct osmo_io_fd *iofd, enum iofd_msg_action action, struct msgb *msg,
- size_t cmsg_size)
+static struct iofd_msghdr *_iofd_msghdr_alloc(struct osmo_io_fd *iofd, enum iofd_msg_action action,
+ int flags, size_t cmsg_size)
{
struct iofd_msghdr *msghdr;
- uint8_t idx, io_len;
-
msghdr = talloc_zero_size(iofd, sizeof(struct iofd_msghdr) + cmsg_size);
if (!msghdr)
@@ -152,20 +150,42 @@
msghdr->action = action;
msghdr->iofd = iofd;
+ msghdr->flags = flags;
+
+ msghdr->hdr.msg_iov = &msghdr->iov[0];
+
+ if (cmsg_size > 0) {
+ msghdr->hdr.msg_control = msghdr->cmsg;
+ msghdr->hdr.msg_controllen = cmsg_size;
+ }
+ return msghdr;
+}
+
+/*! Allocate the msghdr.
+ * \param[in] iofd the osmo_io file structure
+ * \param[in] action the action this msg(hdr) is for (read, write, ..)
+ * \param[in] flags Flags to set on the msghdr and be passed on its fd operations.
+ * \param[in] cmsg_size size (in bytes) of iofd_msghdr.cmsg buffer. Can be 0 if cmsg is not used.
+ * \returns the newly allocated msghdr or NULL in case of error */
+struct iofd_msghdr *iofd_msghdr_alloc_for_reading(struct osmo_io_fd *iofd, enum iofd_msg_action action,
+ int flags, size_t cmsg_size)
+{
+ struct iofd_msghdr *msghdr;
+ uint8_t idx, io_len;
+
+ msghdr = _iofd_msghdr_alloc(iofd, action, flags, cmsg_size);
+ if (!msghdr)
+ return NULL;
/* Allocate the number of read buffers, configured by the user. Use msg as first buffer, if not NULL.
* Only READ may have multiple buffers, because packets will only be written to the first buffer. */
io_len = (action == IOFD_ACT_READ) ? iofd->io_read_buffers : 1;
for (idx = 0; idx < io_len; idx++) {
- if (msg) {
- talloc_steal(iofd, msg);
- msghdr->msg[idx] = msg;
- msg = NULL;
- } else {
- msghdr->msg[idx] = iofd_msgb_alloc(iofd);
- if (!msghdr->msg[idx])
- break;
- }
+ msghdr->msg[idx] = iofd_msgb_alloc(iofd);
+ if (!msghdr->msg[idx])
+ break;
+ msghdr->iov[idx].iov_base = msghdr->msg[idx]->tail;
+ msghdr->iov[idx].iov_len = msgb_tailroom(msghdr->msg[idx]);
}
/* If at least one msgb is allocated, we can continue with only one msgb, instead of completely failing. */
if (idx == 0) {
@@ -174,6 +194,47 @@
}
msghdr->io_len = idx;
+ msghdr->hdr.msg_iovlen = idx;
+
+ if (action != IOFD_ACT_READ) {
+ msghdr->hdr.msg_name = &msghdr->osa.u.sa;
+ msghdr->hdr.msg_namelen = sizeof(msghdr->osa.u.sas);
+ }
+
+ return msghdr;
+}
+
+/*! Allocate the msghdr.
+ * \param[in] iofd the osmo_io file structure
+ * \param[in] action the action this msg(hdr) is for (read, write, ..)
+ * \param[in] flags Flags to set on the msghdr and be passed on its fd operations.
+ * \param[in] cmsg_size size (in bytes) of iofd_msghdr.cmsg buffer. Can be 0 if cmsg is not used.
+ * \param[in] msg the msg buffer to use. Will allocate a new one if NULL
+ * \returns the newly allocated msghdr or NULL in case of error */
+struct iofd_msghdr *iofd_msghdr_alloc_for_writing(struct osmo_io_fd *iofd, enum iofd_msg_action action,
+ int flags, ssize_t cmsg_size, struct msgb *msg)
+{
+ struct iofd_msghdr *msghdr;
+
+ OSMO_ASSERT(msg);
+
+ msghdr = _iofd_msghdr_alloc(iofd, action, flags, cmsg_size);
+ if (!msghdr)
+ return NULL;
+
+ talloc_steal(iofd, msg);
+ msghdr->msg[0] = msg;
+
+ msghdr->iov[0].iov_base = msgb_data(msghdr->msg[0]);
+ msghdr->iov[0].iov_len = msgb_length(msghdr->msg[0]);
+
+ msghdr->io_len = 1;
+ msghdr->hdr.msg_iovlen = 1;
+
+ if (action != IOFD_ACT_WRITE) {
+ msghdr->hdr.msg_name = &msghdr->osa.u.sa;
+ /* msghdr->hdr.msg_namelen to be filled in by user when setting address! */
+ }
return msghdr;
}
@@ -640,7 +701,6 @@
{
int rc;
struct iofd_msghdr *msghdr;
- int idx;
if (OSMO_UNLIKELY(msgb_length(msg) == 0)) {
LOGPIO(iofd, LOGL_ERROR, "Length is 0, rejecting msgb.\n");
@@ -654,30 +714,25 @@
msghdr = llist_last_entry_or_null(&iofd->tx_queue.msg_queue, struct iofd_msghdr, list);
if (msghdr && msghdr->io_len < iofd->io_write_buffers) {
/* Add msg to existing msghdr. */
- msghdr->msg[msghdr->io_len++] = msg;
- } else {
- /* Create new msghdr with msg. */
- msghdr = iofd_msghdr_alloc(iofd, IOFD_ACT_WRITE, msg, 0);
- if (!msghdr)
- return -ENOMEM;
+ msghdr->msg[msghdr->io_len] = msg;
+ msghdr->iov[msghdr->io_len].iov_base = msgb_data(msg);
+ msghdr->iov[msghdr->io_len].iov_len = msgb_length(msg);
+ msghdr->io_len++;
+ msghdr->hdr.msg_iovlen = msghdr->io_len;
msghdr->hdr.msg_iov = &msghdr->iov[0];
- msghdr->flags = MSG_NOSIGNAL;
+ return 0;
}
- /* Add set IO vector to msg. */
- idx = msghdr->io_len - 1;
- msghdr->iov[idx].iov_base = msgb_data(msg);
- msghdr->iov[idx].iov_len = msgb_length(msg);
- msghdr->hdr.msg_iovlen = msghdr->io_len;
+ /* Create new msghdr with msg and enqueue it. */
+ msghdr = iofd_msghdr_alloc_for_writing(iofd, IOFD_ACT_WRITE, MSG_NOSIGNAL, 0, msg);
+ if (!msghdr)
+ return -ENOMEM;
- /* Only new msghdr will be enqueued. */
- if (msghdr->io_len == 1) {
- rc = iofd_txqueue_enqueue(iofd, msghdr);
- if (rc < 0) {
- iofd_msghdr_free(msghdr);
- LOGPIO(iofd, LOGL_ERROR, "enqueueing message failed (%d). Rejecting msgb\n", rc);
- return rc;
- }
+ rc = iofd_txqueue_enqueue(iofd, msghdr);
+ if (rc < 0) {
+ iofd_msghdr_free(msghdr);
+ LOGPIO(iofd, LOGL_ERROR, "enqueueing message failed (%d). Rejecting msgb\n", rc);
+ return rc;
}
return 0;
@@ -710,20 +765,14 @@
OSMO_ASSERT(iofd->mode == OSMO_IO_FD_MODE_RECVFROM_SENDTO);
- struct iofd_msghdr *msghdr = iofd_msghdr_alloc(iofd, IOFD_ACT_SENDTO, msg, 0);
+ struct iofd_msghdr *msghdr = iofd_msghdr_alloc_for_writing(iofd, IOFD_ACT_SENDTO, sendto_flags, 0, msg);
if (!msghdr)
return -ENOMEM;
if (dest) {
msghdr->osa = *dest;
- msghdr->hdr.msg_name = &msghdr->osa.u.sa;
msghdr->hdr.msg_namelen = osmo_sockaddr_size(&msghdr->osa);
}
- msghdr->flags = sendto_flags;
- msghdr->iov[0].iov_base = msgb_data(msghdr->msg[0]);
- msghdr->iov[0].iov_len = msgb_length(msghdr->msg[0]);
- msghdr->hdr.msg_iov = &msghdr->iov[0];
- msghdr->hdr.msg_iovlen = 1;
rc = iofd_txqueue_enqueue(iofd, msghdr);
if (rc < 0) {
@@ -773,32 +822,19 @@
return -EINVAL;
}
- msghdr = iofd_msghdr_alloc(iofd, IOFD_ACT_SENDMSG, msg, msgh->msg_controllen);
+ msghdr = iofd_msghdr_alloc_for_writing(iofd, IOFD_ACT_SENDMSG, sendmsg_flags, msgh->msg_controllen, msg);
if (!msghdr)
return -ENOMEM;
/* copy over optional address */
if (msgh->msg_name) {
memcpy(&msghdr->osa, msgh->msg_name, msgh->msg_namelen);
- msghdr->hdr.msg_name = &msghdr->osa.u.sa;
- msghdr->hdr.msg_namelen = msgh->msg_namelen;
+ msghdr->hdr.msg_namelen = osmo_sockaddr_size(&msghdr->osa);
}
- /* build iov from msgb */
- msghdr->iov[0].iov_base = msgb_data(msghdr->msg[0]);
- msghdr->iov[0].iov_len = msgb_length(msghdr->msg[0]);
- msghdr->hdr.msg_iov = &msghdr->iov[0];
- msghdr->hdr.msg_iovlen = 1;
-
/* copy over the cmsg from the msghdr */
- if (msgh->msg_control && msgh->msg_controllen) {
- msghdr->hdr.msg_control = msghdr->cmsg;
- msghdr->hdr.msg_controllen = msgh->msg_controllen;
+ if (msgh->msg_control && msgh->msg_controllen)
memcpy(msghdr->cmsg, msgh->msg_control, msgh->msg_controllen);
- }
-
- /* copy over msg_flags */
- msghdr->hdr.msg_flags = sendmsg_flags;
rc = iofd_txqueue_enqueue(iofd, msghdr);
if (rc < 0) {
diff --git a/src/core/osmo_io_internal.h b/src/core/osmo_io_internal.h
index 81a70f3..6ad9313 100644
--- a/src/core/osmo_io_internal.h
+++ b/src/core/osmo_io_internal.h
@@ -185,7 +185,10 @@
IOFD_SEG_ACT_DEFER,
};
-struct iofd_msghdr *iofd_msghdr_alloc(struct osmo_io_fd *iofd, enum iofd_msg_action action, struct msgb *msg, size_t cmsg_size);
+struct iofd_msghdr *iofd_msghdr_alloc_for_reading(struct osmo_io_fd *iofd, enum iofd_msg_action action,
+ int flags, size_t cmsg_size);
+struct iofd_msghdr *iofd_msghdr_alloc_for_writing(struct osmo_io_fd *iofd, enum iofd_msg_action action,
+ int flags, ssize_t cmsg_size, struct msgb *msg);
void iofd_msghdr_free(struct iofd_msghdr *msghdr);
struct msgb *iofd_msgb_alloc2(struct osmo_io_fd *iofd, size_t size);
diff --git a/src/core/osmo_io_poll.c b/src/core/osmo_io_poll.c
index b861675..60f2cfd 100644
--- a/src/core/osmo_io_poll.c
+++ b/src/core/osmo_io_poll.c
@@ -87,7 +87,6 @@
enum iofd_msg_action action;
struct iofd_msghdr *msghdr;
int rc;
- uint8_t idx;
if (what & OSMO_FD_READ) {
@@ -105,34 +104,12 @@
OSMO_ASSERT(0);
}
- msghdr = iofd_msghdr_alloc(iofd, action, NULL, iofd->cmsg_size);
+ msghdr = iofd_msghdr_alloc_for_reading(iofd, action, 0, iofd->cmsg_size);
if (!msghdr) {
LOGPIO(iofd, LOGL_ERROR, "Could not allocate msghdr for reading\n");
OSMO_ASSERT(0);
}
- for (idx = 0; idx < msghdr->io_len; idx++) {
- msghdr->iov[idx].iov_base = msghdr->msg[idx]->tail;
- msghdr->iov[idx].iov_len = msgb_tailroom(msghdr->msg[idx]);
- }
-
- switch (action) {
- case IOFD_ACT_RECVMSG:
- msghdr->hdr.msg_control = msghdr->cmsg;
- msghdr->hdr.msg_controllen = iofd->cmsg_size;
- /* fall-through */
- case IOFD_ACT_RECVFROM:
- msghdr->hdr.msg_name = &msghdr->osa.u.sa;
- msghdr->hdr.msg_namelen = osmo_sockaddr_size(&msghdr->osa);
- /* fall-through */
- case IOFD_ACT_READ:
- msghdr->hdr.msg_iov = &msghdr->iov[0];
- msghdr->hdr.msg_iovlen = msghdr->io_len;
- break;
- default:
- OSMO_ASSERT(0);
- }
-
switch (action) {
case IOFD_ACT_READ:
rc = readv(ofd->fd, msghdr->hdr.msg_iov, msghdr->hdr.msg_iovlen);
diff --git a/src/core/osmo_io_uring.c b/src/core/osmo_io_uring.c
index 400b65b..8c1c7af 100644
--- a/src/core/osmo_io_uring.c
+++ b/src/core/osmo_io_uring.c
@@ -248,7 +248,6 @@
{
struct iofd_msghdr *msghdr;
struct io_uring_sqe *sqe;
- uint8_t idx;
/* Tell iofd_uring_get_sqe() not to allocate a new ring, if we want to enqueue multiple read SQEs. */
sqe = iofd_uring_get_sqe(iofd, true);
@@ -259,34 +258,12 @@
OSMO_ASSERT(0);
}
- msghdr = iofd_msghdr_alloc(iofd, action, NULL, iofd->cmsg_size);
+ msghdr = iofd_msghdr_alloc_for_reading(iofd, action, 0, iofd->cmsg_size);
if (!msghdr) {
LOGPIO(iofd, LOGL_ERROR, "Could not allocate msghdr for reading\n");
OSMO_ASSERT(0);
}
- for (idx = 0; idx < msghdr->io_len; idx++) {
- msghdr->iov[idx].iov_base = msghdr->msg[idx]->tail;
- msghdr->iov[idx].iov_len = msgb_tailroom(msghdr->msg[idx]);
- }
-
- switch (action) {
- case IOFD_ACT_RECVMSG:
- msghdr->hdr.msg_control = msghdr->cmsg;
- msghdr->hdr.msg_controllen = iofd->cmsg_size;
- /* fall-through */
- case IOFD_ACT_RECVFROM:
- msghdr->hdr.msg_name = &msghdr->osa.u.sa;
- msghdr->hdr.msg_namelen = osmo_sockaddr_size(&msghdr->osa);
- /* fall-through */
- case IOFD_ACT_READ:
- msghdr->hdr.msg_iov = &msghdr->iov[0];
- msghdr->hdr.msg_iovlen = msghdr->io_len;
- break;
- default:
- OSMO_ASSERT(0);
- }
-
switch (action) {
case IOFD_ACT_READ:
io_uring_prep_readv(sqe, iofd->fd, msghdr->iov, msghdr->hdr.msg_iovlen, -1);
@@ -713,15 +690,12 @@
LOGPIO(iofd, LOGL_ERROR, "Could not allocate msgb for writing\n");
OSMO_ASSERT(0);
}
- msghdr = iofd_msghdr_alloc(iofd, IOFD_ACT_WRITE, msg, 0);
+ msghdr = iofd_msghdr_alloc_for_writing(iofd, IOFD_ACT_WRITE, 0, 0, msg);
if (!msghdr) {
LOGPIO(iofd, LOGL_ERROR, "Could not allocate msghdr for writing\n");
OSMO_ASSERT(0);
}
- msghdr->iov[0].iov_base = msgb_data(msg);
- msghdr->iov[0].iov_len = msgb_length(msg);
-
sqe = iofd_uring_get_sqe(iofd, false);
if (!sqe) {
LOGPIO(iofd, LOGL_ERROR, "Could not get io_uring_sqe\n");
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6552db468aaad7f638dade748f94a30255307f03
Gerrit-Change-Number: 44141
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1
0
[S] Change in libosmocore[master]: cosmetic: osmo_io: Rename variable s/hdr/msghdr/
by pespin 18 Nov '26
by pespin 18 Nov '26
18 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44139?usp=email )
Change subject: cosmetic: osmo_io: Rename variable s/hdr/msghdr/
......................................................................
cosmetic: osmo_io: Rename variable s/hdr/msghdr/
We use "msghdr" almost everywhere to refer to a struct iofd_msghdr, use
it in iofd_msghdr_alloc(). This allows differentiating it from its own
"struct msghdr hdr" subfield.
Change-Id: Ie00defc144dbd8cd87029d701cc4fa2943c4452b
---
M src/core/osmo_io.c
1 file changed, 11 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/44139/1
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c
index f14f03b..83f3c05 100644
--- a/src/core/osmo_io.c
+++ b/src/core/osmo_io.c
@@ -142,16 +142,16 @@
struct iofd_msghdr *iofd_msghdr_alloc(struct osmo_io_fd *iofd, enum iofd_msg_action action, struct msgb *msg,
size_t cmsg_size)
{
- struct iofd_msghdr *hdr;
+ struct iofd_msghdr *msghdr;
uint8_t idx, io_len;
- hdr = talloc_zero_size(iofd, sizeof(struct iofd_msghdr) + cmsg_size);
- if (!hdr)
+ msghdr = talloc_zero_size(iofd, sizeof(struct iofd_msghdr) + cmsg_size);
+ if (!msghdr)
return NULL;
- hdr->action = action;
- hdr->iofd = iofd;
+ msghdr->action = action;
+ msghdr->iofd = iofd;
/* Allocate the number of read buffers, configured by the user. Use msg as first buffer, if not NULL.
* Only READ may have multiple buffers, because packets will only be written to the first buffer. */
@@ -159,23 +159,23 @@
for (idx = 0; idx < io_len; idx++) {
if (msg) {
talloc_steal(iofd, msg);
- hdr->msg[idx] = msg;
+ msghdr->msg[idx] = msg;
msg = NULL;
} else {
- hdr->msg[idx] = iofd_msgb_alloc(iofd);
- if (!hdr->msg[idx])
+ msghdr->msg[idx] = iofd_msgb_alloc(iofd);
+ if (!msghdr->msg[idx])
break;
}
}
/* If at least one msgb is allocated, we can continue with only one msgb, instead of completely failing. */
if (idx == 0) {
- talloc_free(hdr);
+ talloc_free(msghdr);
return NULL;
}
- hdr->io_len = idx;
+ msghdr->io_len = idx;
- return hdr;
+ return msghdr;
}
/*! Free the msghdr.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44139?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie00defc144dbd8cd87029d701cc4fa2943c4452b
Gerrit-Change-Number: 44139
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1
0
[XS] Change in libosmocore[master]: osmo_io: uring: Let iofd_msghdr_alloc() allocate msgb internally in r...
by pespin 18 Nov '26
by pespin 18 Nov '26
18 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44140?usp=email )
Change subject: osmo_io: uring: Let iofd_msghdr_alloc() allocate msgb internally in read path
......................................................................
osmo_io: uring: Let iofd_msghdr_alloc() allocate msgb internally in read path
Do it the same way as in osmo_io_poll, to have similar code paths and
avoid extra code.
Change-Id: I947a97ee9db8b6bb2635ae122426210f068b1a8a
---
M src/core/osmo_io_uring.c
1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/44140/1
diff --git a/src/core/osmo_io_uring.c b/src/core/osmo_io_uring.c
index 6ae21cf..400b65b 100644
--- a/src/core/osmo_io_uring.c
+++ b/src/core/osmo_io_uring.c
@@ -246,7 +246,6 @@
static inline int iofd_uring_submit_recv_sqe(struct osmo_io_fd *iofd, enum iofd_msg_action action)
{
- struct msgb *msg;
struct iofd_msghdr *msghdr;
struct io_uring_sqe *sqe;
uint8_t idx;
@@ -260,13 +259,7 @@
OSMO_ASSERT(0);
}
- msg = iofd_msgb_alloc(iofd);
- if (!msg) {
- LOGPIO(iofd, LOGL_ERROR, "Could not allocate msgb for reading\n");
- OSMO_ASSERT(0);
- }
-
- msghdr = iofd_msghdr_alloc(iofd, action, msg, iofd->cmsg_size);
+ msghdr = iofd_msghdr_alloc(iofd, action, NULL, iofd->cmsg_size);
if (!msghdr) {
LOGPIO(iofd, LOGL_ERROR, "Could not allocate msghdr for reading\n");
OSMO_ASSERT(0);
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44140?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I947a97ee9db8b6bb2635ae122426210f068b1a8a
Gerrit-Change-Number: 44140
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1
0
[L] Change in onomondo-eim[master]: contrib/sample_ssl_certs: add scripts to generate SSL certificates
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/44033?usp=email )
Change subject: contrib/sample_ssl_certs: add scripts to generate SSL certificates
......................................................................
contrib/sample_ssl_certs: add scripts to generate SSL certificates
The SSL certificates used so far use RSA, this works technically
so far, but it is not spec compliant (see also GSMA SGP.22, section
2.6.3.2). Let's add new certificates and include scripts to allow
users to re-generate the certificates.
Related: SYS#8287
Change-Id: Ie75293e5177ccacc45e11d85ef526159e999b7bb
---
M .checkpatch.conf
M config/sys.config
M config/sys.dev.config
D contrib/sample_ssl_cert.cabundle
A contrib/sample_ssl_certs/CI-csr.cnf
A contrib/sample_ssl_certs/EIMtls-csr.cnf
A contrib/sample_ssl_certs/EIMtls-ext.cnf
A contrib/sample_ssl_certs/make_ssl_certificates.sh
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt.txt
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.key
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt.txt
A contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.key
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.bundle
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt.txt
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.key
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.bundle
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt.txt
A contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.key
A priv/sample_esipa_ssl_ca_cert_brainpool.crt
A priv/sample_esipa_ssl_ca_cert_nist.crt
A priv/sample_esipa_ssl_ca_certbrainpool.crt
A priv/sample_esipa_ssl_ca_certnist.crt
A priv/sample_esipa_ssl_cert_brainpool.crt
A priv/sample_esipa_ssl_cert_brainpool.key
A priv/sample_esipa_ssl_cert_nist.crt
A priv/sample_esipa_ssl_cert_nist.key
A priv/sample_esipa_ssl_certbrainpool
A priv/sample_esipa_ssl_certbrainpool.key
A priv/sample_esipa_ssl_certnist
A priv/sample_esipa_ssl_certnist.key
D priv/sample_ssl_cert.crt
D priv/sample_ssl_cert.key
36 files changed, 579 insertions(+), 162 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
jolly: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 4a8fcf8..42c8af6 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -1 +1,2 @@
---exclude ^asn1/.*\.asn1$
\ No newline at end of file
+--exclude ^asn1/.*\.asn1$
+--exclude ^contrib/sample_ssl_certs/.*\.crt.txt$
diff --git a/config/sys.config b/config/sys.config
index 477d8b3..6e8c2d2 100644
--- a/config/sys.config
+++ b/config/sys.config
@@ -3,8 +3,8 @@
{esipa_ip, {127, 0, 0, 1}},
{esipa_port, 8000},
{esipa_ssl_disable, false},
- {esipa_ssl_cert, "sample_ssl_cert.crt"},
- {esipa_ssl_key, "sample_ssl_cert.key"},
+ {esipa_ssl_cert, "sample_esipa_ssl_cert_nist.crt"},
+ {esipa_ssl_key, "sample_esipa_ssl_cert_nist.key"},
{rest_ip, {127, 0, 0, 1}},
{rest_port, 8080},
{eim_id, "eIM"},
diff --git a/config/sys.dev.config b/config/sys.dev.config
index b12c9e7..4e702f5 100644
--- a/config/sys.dev.config
+++ b/config/sys.dev.config
@@ -3,8 +3,8 @@
{esipa_ip, {127, 0, 0, 1}},
{esipa_port, 8000},
{esipa_ssl_disable, true},
- {esipa_ssl_cert, "sample_ssl_cert.crt"},
- {esipa_ssl_key, "sample_ssl_cert.key"},
+ {esipa_ssl_cert, "sample_esipa_ssl_cert_nist.crt"},
+ {esipa_ssl_key, "sample_esipa_ssl_cert_nist.key"},
{rest_ip, {127, 0, 0, 1}},
{rest_port, 8080},
{eim_id, "eIM"},
diff --git a/contrib/sample_ssl_cert.cabundle b/contrib/sample_ssl_cert.cabundle
deleted file mode 100644
index c7a4426..0000000
--- a/contrib/sample_ssl_cert.cabundle
+++ /dev/null
@@ -1,42 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIDdDCCAlygAwIBAgIRAPrucayc+FuATc5L01f4MgkwDQYJKoZIhvcNAQELBQAw
-FjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwIBcNMjQwNDI1MTUzNDE4WhgPMzAyMzA4
-MjcxNTM0MThaMBIxEDAOBgNVBAMMB2FsdHRlc3QwggEiMA0GCSqGSIb3DQEBAQUA
-A4IBDwAwggEKAoIBAQCU9n4rQe4A1vUvVGb0QTlp7mQLFUZZzgC2vyqq9w51xOWh
-t7OGHCQG+pFB8QuHOu4mJyhiHaw1VOWjrEinmqq+LmBSfN7PwygRQldSnUQkj7C2
-+zbvT6p+LFdeB4oD/BgD6FhriJiok6xpAbGc7zv+BEeeKOLGFflc394kHi+k4LIB
-lH64AHaw3TZVIvItOsex2Gd+yi0iuNydhzQMwRHHciu47RvYdW0NSeH2vxLdGYSH
-Lm3GfX5CMyoFov9dBxCDpMA1qfgAlimfvFNsgRh75MZBVH8So1p3yw/PUoyDmjAD
-yndlssALAGeGUHex9Xm3IGIl+DvKzcTa0cCB/duLAgMBAAGjgb4wgbswCQYDVR0T
-BAIwADAdBgNVHQ4EFgQUBC6gaADX29Plc5P8HOUweNFbJOgwUQYDVR0jBEowSIAU
-20uplSytBZ/PyDzeOywngdcoZUihGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENB
-ghRmMucVriDi12sOO6NQwSVaRWkUoDATBgNVHSUEDDAKBggrBgEFBQcDATALBgNV
-HQ8EBAMCBaAwGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/AAABMA0GCSqGSIb3DQEB
-CwUAA4IBAQBBNV5+FEaWPsmO/oj41gdri7eOAsRjl3nsSkbMck16zJsT2Wtc+bW2
-yATP+eAjsk7ssICFhL6pHY1OiyYJ0VCD36LWzOyMNrDEqcsUui3i85Oa5a7+prc3
-whdSF7LzTjoEiJtQfsVzb2NcqzJHDRy0Y9TewGvO7CaNjECDwcIpSPgPobH5XiuR
-+w0yJttz7zYD0SQ+WY05CSlhhWRpvu7sbd1tfJMitUQZ7RH1Rn31vnTORoVdJJ9O
-uCdLf7pyXPckELZ7+8ug0Vlb01/po+n9wzYvtrXr5h2bcdZTJpUmZBQlR7g71Ja+
-UZjlTc9HZuj86bzmbCvmh9jLZILYYzHJ
------END CERTIFICATE-----
-
------BEGIN CERTIFICATE-----
-MIIDTTCCAjWgAwIBAgIUZjLnFa4g4tdrDjujUMElWkVpFKAwDQYJKoZIhvcNAQEL
-BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwIBcNMjQwNDI1MTUzMzU2WhgPMzAy
-MzA4MjcxNTMzNTZaMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBMIIBIjANBgkqhkiG
-9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnR8Y1ESTRhfjVNZ0+nuhQsvkMhZnOMpaEoJz
-pCzHV0Cj6Mi814gPanvflAX/9F+4IjQ2evm7pNKNUpt1vf6kKTmco0EX672spP4p
-8KOQaki/+I/AMYCwAGOvmCMYpHMzNTkV9PZIUUyzLG5YaigiMtJpWY+ji/G+kxAg
-YzPr4WhTjG+mEoPjfc9LQH5dh/dP0cdkoZuIHWx6kFxAw/Okb1EF/oGrUT4pOLzg
-/Z5wkOYZhlK0bicCqvYfsUjJ4y0ftCXfjQUtAYfQ4gq6revQ7eHCNKixh+BB8yXO
-7/z6qrTfMTmN2Ekdo5nAyAMOeugaExaSLwYti3afX71RuqrtTwIDAQABo4GQMIGN
-MAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFNtLqZUsrQWfz8g83jssJ4HXKGVIMFEG
-A1UdIwRKMEiAFNtLqZUsrQWfz8g83jssJ4HXKGVIoRqkGDAWMRQwEgYDVQQDDAtF
-YXN5LVJTQSBDQYIUZjLnFa4g4tdrDjujUMElWkVpFKAwCwYDVR0PBAQDAgEGMA0G
-CSqGSIb3DQEBCwUAA4IBAQAADFdB7R2mwfMWj3vUR77v9f3wqJdKgUyleXGKu6ot
-9YL8vYAJUL9sojZ8KeR47PDVpOs7v0Ll3RcfqRrDWQ9/MiMqSMcxh/i9dvyf5d9s
-o2kxqiPaMVPkLzGKE04I0XtAlszqOBYsGO83D2FuJsIWglvvOjNYvJ05LMVJObnq
-gpwY3TwhoKeWAQg6U5Yv6dLDjvbYPTwgArNpY97BxY0GZNyiyJgyag21cVui+tsd
-uLKVKhmW/EhCC52wsEMwLAsiOjNpVXwAkPWaWAbUJIJTyuc2ZFpx9D2T40H1U8Pj
-6UXwCkZ7C9qwKKyusG8duf/Xsdsft3Pm8XykSWWya6Um
------END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/CI-csr.cnf b/contrib/sample_ssl_certs/CI-csr.cnf
new file mode 100644
index 0000000..a673a31
--- /dev/null
+++ b/contrib/sample_ssl_certs/CI-csr.cnf
@@ -0,0 +1,25 @@
+# This configuration file has been derived from the example files provided by SGP.26. The original file can be found in
+# SGP.26_v3.0.2-2026_files_v2.zip, /SGP.26_v3.0.2-2026_files_v2_Pack2/Valid Test Cases/Variant O/CI/CI-csr.cnf
+
+# openssl x509 extfile params
+extensions = extend
+
+# This prevent the user to be prompted for values
+prompt = no
+
+# DN fields
+distinguished_name = dn-param
+[dn-param]
+CN = Test CI
+OU = TESTCERT
+O = RSPTEST
+C = IT
+
+# Extensions for the Test CI
+[extend] # openssl extensions
+subjectKeyIdentifier = hash
+basicConstraints = critical, CA:true
+certificatePolicies=critical,2.23.146.1.2.1.0
+keyUsage =critical, keyCertSign, cRLSign
+subjectAltName = RID:2.999.1
+crlDistributionPoints=URI:http://ci.test.example.com/CRL-1.crl, URI:http://ci.test.example.com/CRL-2.crl
\ No newline at end of file
diff --git a/contrib/sample_ssl_certs/EIMtls-csr.cnf b/contrib/sample_ssl_certs/EIMtls-csr.cnf
new file mode 100644
index 0000000..d26460d
--- /dev/null
+++ b/contrib/sample_ssl_certs/EIMtls-csr.cnf
@@ -0,0 +1,12 @@
+# This configuration file has been derived from the example files provided by SGP.26. The original file can be found in
+# SGP.26_v3.0.2-2026_files_v2.zip, /SGP.26_v3.0.2-2026_files_v2_Pack2/Valid Test Cases/Variant O/EIM_tls-dptls/EIMtls-csr.cnf
+
+# openssl EIMtls certificate request configuration file
+[req]
+prompt = no
+
+distinguished_name = dn-name
+[dn-name]
+
+countryName = DE
+commonName = eim.example.com
diff --git a/contrib/sample_ssl_certs/EIMtls-ext.cnf b/contrib/sample_ssl_certs/EIMtls-ext.cnf
new file mode 100644
index 0000000..762db0f
--- /dev/null
+++ b/contrib/sample_ssl_certs/EIMtls-ext.cnf
@@ -0,0 +1,10 @@
+# This configuration file has been derived from the example files provided by SGP.26. The original file can be found in
+# SGP.26_v3.0.2-2026_files_v2.zip, /SGP.26_v3.0.2-2026_files_v2_Pack2/Valid Test Cases/Variant O/EIM_tls-dptls/EIMtls-ext.cnf
+
+# openssl EIMtls certificate creation configuration file
+subjectKeyIdentifier = none
+authorityKeyIdentifier=keyid, issuer
+keyUsage=critical, digitalSignature
+extendedKeyUsage = critical, serverAuth, clientAuth
+subjectAltName = DNS:eim.example.com, RID:2.999.20
+crlDistributionPoints=URI:http://ci.test.example.com/CRL-1.crl, URI:http://ci.test.example.com/CRL-2.crl
diff --git a/contrib/sample_ssl_certs/make_ssl_certificates.sh b/contrib/sample_ssl_certs/make_ssl_certificates.sh
new file mode 100755
index 0000000..4976a0b
--- /dev/null
+++ b/contrib/sample_ssl_certs/make_ssl_certificates.sh
@@ -0,0 +1,68 @@
+#!/bin/bash -e
+
+# This script may be used to (re-)generate the provided sample eIM SSL ESipa SSL
+# certificates. The certificates are modeled after the example certificates
+# provided by GSMA SGP.26 (Variant O). Users may use this script to generate CI
+# and sub certificates that are compliant with GSMA SGP.22, section 2.6.4.4
+
+CA_CONFIGURATION_FILE="CI-csr.cnf"
+CA_SERIAL="0xb874f3abfa6c44d3"
+CSR_CONFIG_FILE="EIMtls-csr.cnf"
+EXT_CONFIG_FILE="EIMtls-ext.cnf"
+SERIAL="0x03ff0aff0009990100ff00ff01"
+DAYS=365000 # 1000 Years
+OUTPUT_DIR=../../priv/
+
+function make_certs() {
+ CURVE=$1
+ SUFFIX=$2
+ CA_CERT_NAME="sample_esipa_ssl_ca_cert_"$SUFFIX
+ CERT_NAME="sample_esipa_ssl_cert_"$SUFFIX
+
+ # Create CA-certificate
+ echo "creating CA certificate ($CA_CERT_NAME)..."
+ openssl ecparam -name $CURVE -genkey -noout -out $CA_CERT_NAME.key
+ openssl req -x509 -key $CA_CERT_NAME.key -out $CA_CERT_NAME.crt \
+ -config $CA_CONFIGURATION_FILE -sha256 -set_serial $CA_SERIAL \
+ -days $DAYS -extensions extend
+ openssl x509 -inform pem -in $CA_CERT_NAME.crt \
+ -noout -text > $CA_CERT_NAME.crt.txt
+
+ # Create sub-certificate
+ echo "creating CA certificate ($CERT_NAME)..."
+ openssl ecparam -name $CURVE -genkey -noout -out $CERT_NAME.key
+ openssl req -key $CERT_NAME.key -out $CERT_NAME.csr \
+ -config $CSR_CONFIG_FILE -new -nodes -sha256
+ openssl x509 -req -in $CERT_NAME.csr -out $CERT_NAME.crt \
+ -CA $CA_CERT_NAME.crt -CAkey $CA_CERT_NAME.key \
+ -extfile $EXT_CONFIG_FILE -set_serial $SERIAL -days $DAYS
+ rm -rf ./*.csr
+ openssl x509 -inform pem -in $CERT_NAME.crt \
+ -noout -text > $CERT_NAME.crt.txt
+
+ # Create CA-bundle (not used here, intended to be used with an IPAd)
+ openssl x509 -inform pem -in $CERT_NAME.crt > $CERT_NAME.bundle
+ openssl x509 -inform pem -in $CA_CERT_NAME.crt >> $CERT_NAME.bundle
+
+ # Copy certificates to output directory
+ echo "depolying certificates..."
+ cp -v $CERT_NAME.crt $OUTPUT_DIR
+ cp -v $CERT_NAME.key $OUTPUT_DIR
+
+ echo "done."
+ echo ""
+}
+
+# clean up old certificate and key material
+rm -rf ./*.key
+rm -rf ./*.crt
+rm -rf ./*.csr
+rm -rf ./*.bundle
+rm -rf ./*.crt.txt
+
+# prime256v1: X9.62/SECG curve over a 256 bit prime field
+make_certs prime256v1 nist
+
+# brainpoolP256r1: RFC 5639 curve over a 256 bit prime field
+make_certs brainpoolP256r1 brainpool
+
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt
new file mode 100644
index 0000000..87d1b41
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfigAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHu8
+pGgKiC3eCqs2GTXwlJMW+oBlDRpfFJrXbQXYMEOOalEzhXN6QUuaeftUQ77/knXe
+ScRK8NKIw59TmaPb34Sjgc8wgcwwHQYDVR0OBBYEFLd3597l5daGm2xCzR182IGM
+HBFOMA8GA1UdEwEB/wQFMAMBAf8wFwYDVR0gAQH/BA0wCzAJBgdngRIBAgEAMA4G
+A1UdDwEB/wQEAwIBBjAOBgNVHREEBzAFiAOINwEwYQYDVR0fBFowWDAqoCigJoYk
+aHR0cDovL2NpLnRlc3QuZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRw
+Oi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDRwAw
+RAIgQWRuTZF3leFpzRKue3daygV71KviivEbuBFSIYK2NiMCICmyqcUBo8UPI5ZA
+0ygrVpDDJTREHTrFwYbNYpHyxlMs
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt.txt b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt.txt
new file mode 100644
index 0000000..0743885
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.crt.txt
@@ -0,0 +1,45 @@
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number:
+ b8:74:f3:ab:fa:6c:44:d3
+ Signature Algorithm: ecdsa-with-SHA256
+ Issuer: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Validity
+ Not Before: Nov 11 11:50:10 2026 GMT
+ Not After : Mar 14 11:50:10 3026 GMT
+ Subject: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+ 04:7b:bc:a4:68:0a:88:2d:de:0a:ab:36:19:35:f0:
+ 94:93:16:fa:80:65:0d:1a:5f:14:9a:d7:6d:05:d8:
+ 30:43:8e:6a:51:33:85:73:7a:41:4b:9a:79:fb:54:
+ 43:be:ff:92:75:de:49:c4:4a:f0:d2:88:c3:9f:53:
+ 99:a3:db:df:84
+ ASN1 OID: brainpoolP256r1
+ X509v3 extensions:
+ X509v3 Subject Key Identifier:
+ B7:77:E7:DE:E5:E5:D6:86:9B:6C:42:CD:1D:7C:D8:81:8C:1C:11:4E
+ X509v3 Basic Constraints: critical
+ CA:TRUE
+ X509v3 Certificate Policies: critical
+ Policy: 2.23.146.1.2.1.0
+ X509v3 Key Usage: critical
+ Certificate Sign, CRL Sign
+ X509v3 Subject Alternative Name:
+ Registered ID:2.999.1
+ X509v3 CRL Distribution Points:
+ Full Name:
+ URI:http://ci.test.example.com/CRL-1.crl
+
+ Full Name:
+ URI:http://ci.test.example.com/CRL-2.crl
+
+ Signature Algorithm: ecdsa-with-SHA256
+ Signature Value:
+ 30:44:02:20:41:64:6e:4d:91:77:95:e1:69:cd:12:ae:7b:77:
+ 5a:ca:05:7b:d4:ab:e2:8a:f1:1b:b8:11:52:21:82:b6:36:23:
+ 02:20:29:b2:a9:c5:01:a3:c5:0f:23:96:40:d3:28:2b:56:90:
+ c3:25:34:44:1d:3a:c5:c1:86:cd:62:91:f2:c6:53:2c
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.key b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.key
new file mode 100644
index 0000000..ba19e27
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_brainpool.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHgCAQEEIB2c2vHM//kZ8qlXg5U1FyIVYk7gZg0w8s2i0Y+iq72SoAsGCSskAwMC
+CAEBB6FEA0IABHu8pGgKiC3eCqs2GTXwlJMW+oBlDRpfFJrXbQXYMEOOalEzhXN6
+QUuaeftUQ77/knXeScRK8NKIw59TmaPb34Q=
+-----END EC PRIVATE KEY-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt
new file mode 100644
index 0000000..97ffc3a
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfegAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqEl1
+lVXROfZ8voTIuiq/dMjA//DFc4UYrskneGGUrFOmbv+dJLwCWnp6Zf9zv1wx4kmO
+Zu2jBrJXEDdKQxwR/aOBzzCBzDAdBgNVHQ4EFgQUXw8zVcF6/eagGxWGbcb21tlJ
+ck0wDwYDVR0TAQH/BAUwAwEB/zAXBgNVHSABAf8EDTALMAkGB2eBEgECAQAwDgYD
+VR0PAQH/BAQDAgEGMA4GA1UdEQQHMAWIA4g3ATBhBgNVHR8EWjBYMCqgKKAmhiRo
+dHRwOi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMS5jcmwwKqAooCaGJGh0dHA6
+Ly9jaS50ZXN0LmV4YW1wbGUuY29tL0NSTC0yLmNybDAKBggqhkjOPQQDAgNIADBF
+AiEAzJhQlFYKNXh4kGKgLQYRpMpzb0pqbmds1ouFA2V89gcCIEZViQ/LK4o6nc/C
++yAPxUxRfbvTAxGWQjXz86c9hENQ
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt.txt b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt.txt
new file mode 100644
index 0000000..8baf23f
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.crt.txt
@@ -0,0 +1,46 @@
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number:
+ b8:74:f3:ab:fa:6c:44:d3
+ Signature Algorithm: ecdsa-with-SHA256
+ Issuer: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Validity
+ Not Before: Nov 11 11:50:10 2026 GMT
+ Not After : Mar 14 11:50:10 3026 GMT
+ Subject: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+ 04:a8:49:75:95:55:d1:39:f6:7c:be:84:c8:ba:2a:
+ bf:74:c8:c0:ff:f0:c5:73:85:18:ae:c9:27:78:61:
+ 94:ac:53:a6:6e:ff:9d:24:bc:02:5a:7a:7a:65:ff:
+ 73:bf:5c:31:e2:49:8e:66:ed:a3:06:b2:57:10:37:
+ 4a:43:1c:11:fd
+ ASN1 OID: prime256v1
+ NIST CURVE: P-256
+ X509v3 extensions:
+ X509v3 Subject Key Identifier:
+ 5F:0F:33:55:C1:7A:FD:E6:A0:1B:15:86:6D:C6:F6:D6:D9:49:72:4D
+ X509v3 Basic Constraints: critical
+ CA:TRUE
+ X509v3 Certificate Policies: critical
+ Policy: 2.23.146.1.2.1.0
+ X509v3 Key Usage: critical
+ Certificate Sign, CRL Sign
+ X509v3 Subject Alternative Name:
+ Registered ID:2.999.1
+ X509v3 CRL Distribution Points:
+ Full Name:
+ URI:http://ci.test.example.com/CRL-1.crl
+
+ Full Name:
+ URI:http://ci.test.example.com/CRL-2.crl
+
+ Signature Algorithm: ecdsa-with-SHA256
+ Signature Value:
+ 30:45:02:21:00:cc:98:50:94:56:0a:35:78:78:90:62:a0:2d:
+ 06:11:a4:ca:73:6f:4a:6a:6e:67:6c:d6:8b:85:03:65:7c:f6:
+ 07:02:20:46:55:89:0f:cb:2b:8a:3a:9d:cf:c2:fb:20:0f:c5:
+ 4c:51:7d:bb:d3:03:11:96:42:35:f3:f3:a7:3d:84:43:50
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.key b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.key
new file mode 100644
index 0000000..a2ec74e
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_ca_cert_nist.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIJyLIk8cXH8DR/RLoJlt0wiPWXsiEWr+ZKfttyl0HjIqoAoGCCqGSM49
+AwEHoUQDQgAEqEl1lVXROfZ8voTIuiq/dMjA//DFc4UYrskneGGUrFOmbv+dJLwC
+Wnp6Zf9zv1wx4kmOZu2jBrJXEDdKQxwR/Q==
+-----END EC PRIVATE KEY-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.bundle b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.bundle
new file mode 100644
index 0000000..e5dc188
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.bundle
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAeqgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWjAUBgcq
+hkjOPQIBBgkrJAMDAggBAQcDQgAEe8imLHzo+2R2jyAqKCrOvr7ObqUK80yAH20E
+6TmWdlpVZ5x31/YfPYsA3C3FfdCGrN63lQ8gjJFa2KTvcP7JTaOB2jCB1zAfBgNV
+HSMEGDAWgBS3d+fe5eXWhptsQs0dfNiBjBwRTjAOBgNVHQ8BAf8EBAMCB4AwIAYD
+VR0lAQH/BBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdEQQYMBaCD2VpbS5l
+eGFtcGxlLmNvbYgDiDcUMGEGA1UdHwRaMFgwKqAooCaGJGh0dHA6Ly9jaS50ZXN0
+LmV4YW1wbGUuY29tL0NSTC0xLmNybDAqoCigJoYkaHR0cDovL2NpLnRlc3QuZXhh
+bXBsZS5jb20vQ1JMLTIuY3JsMAoGCCqGSM49BAMCA0cAMEQCIDsE3qDR6N1Q3rY1
+nUJnivnrq8i5VmYsVf1u7sgcS0yNAiBkfKAhukt5ePVbtvB3GnIyrlTIUnkDgZ5p
+uCh5psGS7g==
+-----END CERTIFICATE-----
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfigAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHu8
+pGgKiC3eCqs2GTXwlJMW+oBlDRpfFJrXbQXYMEOOalEzhXN6QUuaeftUQ77/knXe
+ScRK8NKIw59TmaPb34Sjgc8wgcwwHQYDVR0OBBYEFLd3597l5daGm2xCzR182IGM
+HBFOMA8GA1UdEwEB/wQFMAMBAf8wFwYDVR0gAQH/BA0wCzAJBgdngRIBAgEAMA4G
+A1UdDwEB/wQEAwIBBjAOBgNVHREEBzAFiAOINwEwYQYDVR0fBFowWDAqoCigJoYk
+aHR0cDovL2NpLnRlc3QuZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRw
+Oi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDRwAw
+RAIgQWRuTZF3leFpzRKue3daygV71KviivEbuBFSIYK2NiMCICmyqcUBo8UPI5ZA
+0ygrVpDDJTREHTrFwYbNYpHyxlMs
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt
new file mode 100644
index 0000000..04928d9
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAeqgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWjAUBgcq
+hkjOPQIBBgkrJAMDAggBAQcDQgAEe8imLHzo+2R2jyAqKCrOvr7ObqUK80yAH20E
+6TmWdlpVZ5x31/YfPYsA3C3FfdCGrN63lQ8gjJFa2KTvcP7JTaOB2jCB1zAfBgNV
+HSMEGDAWgBS3d+fe5eXWhptsQs0dfNiBjBwRTjAOBgNVHQ8BAf8EBAMCB4AwIAYD
+VR0lAQH/BBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdEQQYMBaCD2VpbS5l
+eGFtcGxlLmNvbYgDiDcUMGEGA1UdHwRaMFgwKqAooCaGJGh0dHA6Ly9jaS50ZXN0
+LmV4YW1wbGUuY29tL0NSTC0xLmNybDAqoCigJoYkaHR0cDovL2NpLnRlc3QuZXhh
+bXBsZS5jb20vQ1JMLTIuY3JsMAoGCCqGSM49BAMCA0cAMEQCIDsE3qDR6N1Q3rY1
+nUJnivnrq8i5VmYsVf1u7sgcS0yNAiBkfKAhukt5ePVbtvB3GnIyrlTIUnkDgZ5p
+uCh5psGS7g==
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt.txt b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt.txt
new file mode 100644
index 0000000..42bcd7c
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.crt.txt
@@ -0,0 +1,43 @@
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number:
+ 03:ff:0a:ff:00:09:99:01:00:ff:00:ff:01
+ Signature Algorithm: ecdsa-with-SHA256
+ Issuer: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Validity
+ Not Before: Nov 11 11:50:10 2026 GMT
+ Not After : Mar 14 11:50:10 3026 GMT
+ Subject: C=DE, CN=eim.example.com
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+ 04:7b:c8:a6:2c:7c:e8:fb:64:76:8f:20:2a:28:2a:
+ ce:be:be:ce:6e:a5:0a:f3:4c:80:1f:6d:04:e9:39:
+ 96:76:5a:55:67:9c:77:d7:f6:1f:3d:8b:00:dc:2d:
+ c5:7d:d0:86:ac:de:b7:95:0f:20:8c:91:5a:d8:a4:
+ ef:70:fe:c9:4d
+ ASN1 OID: brainpoolP256r1
+ X509v3 extensions:
+ X509v3 Authority Key Identifier:
+ B7:77:E7:DE:E5:E5:D6:86:9B:6C:42:CD:1D:7C:D8:81:8C:1C:11:4E
+ X509v3 Key Usage: critical
+ Digital Signature
+ X509v3 Extended Key Usage: critical
+ TLS Web Server Authentication, TLS Web Client Authentication
+ X509v3 Subject Alternative Name:
+ DNS:eim.example.com, Registered ID:2.999.20
+ X509v3 CRL Distribution Points:
+ Full Name:
+ URI:http://ci.test.example.com/CRL-1.crl
+
+ Full Name:
+ URI:http://ci.test.example.com/CRL-2.crl
+
+ Signature Algorithm: ecdsa-with-SHA256
+ Signature Value:
+ 30:44:02:20:3b:04:de:a0:d1:e8:dd:50:de:b6:35:9d:42:67:
+ 8a:f9:eb:ab:c8:b9:56:66:2c:55:fd:6e:ee:c8:1c:4b:4c:8d:
+ 02:20:64:7c:a0:21:ba:4b:79:78:f5:5b:b6:f0:77:1a:72:32:
+ ae:54:c8:52:79:03:81:9e:69:b8:28:79:a6:c1:92:ee
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.key b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.key
new file mode 100644
index 0000000..f04e2e9
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_brainpool.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHgCAQEEIKEh9W/1vrnKKx4jhpMACQfQfNYujz0Eh0MKwQ0it7CgoAsGCSskAwMC
+CAEBB6FEA0IABHvIpix86Ptkdo8gKigqzr6+zm6lCvNMgB9tBOk5lnZaVWecd9f2
+Hz2LANwtxX3Qhqzet5UPIIyRWtik73D+yU0=
+-----END EC PRIVATE KEY-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.bundle b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.bundle
new file mode 100644
index 0000000..67920d2
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.bundle
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAemgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWTATBgcq
+hkjOPQIBBggqhkjOPQMBBwNCAAQeyclGjjEzXmB3TPKJDPCG4Njfp/ovyFabDSh9
+xKHyidKd7h5aMmL5rGx340Zc24lq2LkEqsvI+k2GqNrIdjTCo4HaMIHXMB8GA1Ud
+IwQYMBaAFF8PM1XBev3moBsVhm3G9tbZSXJNMA4GA1UdDwEB/wQEAwIHgDAgBgNV
+HSUBAf8EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0RBBgwFoIPZWltLmV4
+YW1wbGUuY29tiAOINxQwYQYDVR0fBFowWDAqoCigJoYkaHR0cDovL2NpLnRlc3Qu
+ZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRwOi8vY2kudGVzdC5leGFt
+cGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDSAAwRQIgBef/bub58mCD3sO4
+gmRIHn5YV+ZVgh9TIbpy6B+IAVICIQCKqleyw2BJmH+lbn+L42LnQ2FHTdffLyT4
++2oO0Sv6yg==
+-----END CERTIFICATE-----
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfegAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqEl1
+lVXROfZ8voTIuiq/dMjA//DFc4UYrskneGGUrFOmbv+dJLwCWnp6Zf9zv1wx4kmO
+Zu2jBrJXEDdKQxwR/aOBzzCBzDAdBgNVHQ4EFgQUXw8zVcF6/eagGxWGbcb21tlJ
+ck0wDwYDVR0TAQH/BAUwAwEB/zAXBgNVHSABAf8EDTALMAkGB2eBEgECAQAwDgYD
+VR0PAQH/BAQDAgEGMA4GA1UdEQQHMAWIA4g3ATBhBgNVHR8EWjBYMCqgKKAmhiRo
+dHRwOi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMS5jcmwwKqAooCaGJGh0dHA6
+Ly9jaS50ZXN0LmV4YW1wbGUuY29tL0NSTC0yLmNybDAKBggqhkjOPQQDAgNIADBF
+AiEAzJhQlFYKNXh4kGKgLQYRpMpzb0pqbmds1ouFA2V89gcCIEZViQ/LK4o6nc/C
++yAPxUxRfbvTAxGWQjXz86c9hENQ
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt
new file mode 100644
index 0000000..9ae6cc5
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAemgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWTATBgcq
+hkjOPQIBBggqhkjOPQMBBwNCAAQeyclGjjEzXmB3TPKJDPCG4Njfp/ovyFabDSh9
+xKHyidKd7h5aMmL5rGx340Zc24lq2LkEqsvI+k2GqNrIdjTCo4HaMIHXMB8GA1Ud
+IwQYMBaAFF8PM1XBev3moBsVhm3G9tbZSXJNMA4GA1UdDwEB/wQEAwIHgDAgBgNV
+HSUBAf8EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0RBBgwFoIPZWltLmV4
+YW1wbGUuY29tiAOINxQwYQYDVR0fBFowWDAqoCigJoYkaHR0cDovL2NpLnRlc3Qu
+ZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRwOi8vY2kudGVzdC5leGFt
+cGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDSAAwRQIgBef/bub58mCD3sO4
+gmRIHn5YV+ZVgh9TIbpy6B+IAVICIQCKqleyw2BJmH+lbn+L42LnQ2FHTdffLyT4
++2oO0Sv6yg==
+-----END CERTIFICATE-----
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt.txt b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt.txt
new file mode 100644
index 0000000..598d0e7
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.crt.txt
@@ -0,0 +1,44 @@
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number:
+ 03:ff:0a:ff:00:09:99:01:00:ff:00:ff:01
+ Signature Algorithm: ecdsa-with-SHA256
+ Issuer: CN=Test CI, OU=TESTCERT, O=RSPTEST, C=IT
+ Validity
+ Not Before: Nov 11 11:50:10 2026 GMT
+ Not After : Mar 14 11:50:10 3026 GMT
+ Subject: C=DE, CN=eim.example.com
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+ 04:1e:c9:c9:46:8e:31:33:5e:60:77:4c:f2:89:0c:
+ f0:86:e0:d8:df:a7:fa:2f:c8:56:9b:0d:28:7d:c4:
+ a1:f2:89:d2:9d:ee:1e:5a:32:62:f9:ac:6c:77:e3:
+ 46:5c:db:89:6a:d8:b9:04:aa:cb:c8:fa:4d:86:a8:
+ da:c8:76:34:c2
+ ASN1 OID: prime256v1
+ NIST CURVE: P-256
+ X509v3 extensions:
+ X509v3 Authority Key Identifier:
+ 5F:0F:33:55:C1:7A:FD:E6:A0:1B:15:86:6D:C6:F6:D6:D9:49:72:4D
+ X509v3 Key Usage: critical
+ Digital Signature
+ X509v3 Extended Key Usage: critical
+ TLS Web Server Authentication, TLS Web Client Authentication
+ X509v3 Subject Alternative Name:
+ DNS:eim.example.com, Registered ID:2.999.20
+ X509v3 CRL Distribution Points:
+ Full Name:
+ URI:http://ci.test.example.com/CRL-1.crl
+
+ Full Name:
+ URI:http://ci.test.example.com/CRL-2.crl
+
+ Signature Algorithm: ecdsa-with-SHA256
+ Signature Value:
+ 30:45:02:20:05:e7:ff:6e:e6:f9:f2:60:83:de:c3:b8:82:64:
+ 48:1e:7e:58:57:e6:55:82:1f:53:21:ba:72:e8:1f:88:01:52:
+ 02:21:00:8a:aa:57:b2:c3:60:49:98:7f:a5:6e:7f:8b:e3:62:
+ e7:43:61:47:4d:d7:df:2f:24:f8:fb:6a:0e:d1:2b:fa:ca
diff --git a/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.key b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.key
new file mode 100644
index 0000000..9ecb50d
--- /dev/null
+++ b/contrib/sample_ssl_certs/sample_esipa_ssl_cert_nist.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIGsfux35K7SWliBSdq8r4E8SOpciddGWvXpkem2ST7hBoAoGCCqGSM49
+AwEHoUQDQgAEHsnJRo4xM15gd0zyiQzwhuDY36f6L8hWmw0ofcSh8onSne4eWjJi
++axsd+NGXNuJati5BKrLyPpNhqjayHY0wg==
+-----END EC PRIVATE KEY-----
diff --git a/priv/sample_esipa_ssl_ca_cert_brainpool.crt b/priv/sample_esipa_ssl_ca_cert_brainpool.crt
new file mode 100644
index 0000000..87d1b41
--- /dev/null
+++ b/priv/sample_esipa_ssl_ca_cert_brainpool.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfigAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHu8
+pGgKiC3eCqs2GTXwlJMW+oBlDRpfFJrXbQXYMEOOalEzhXN6QUuaeftUQ77/knXe
+ScRK8NKIw59TmaPb34Sjgc8wgcwwHQYDVR0OBBYEFLd3597l5daGm2xCzR182IGM
+HBFOMA8GA1UdEwEB/wQFMAMBAf8wFwYDVR0gAQH/BA0wCzAJBgdngRIBAgEAMA4G
+A1UdDwEB/wQEAwIBBjAOBgNVHREEBzAFiAOINwEwYQYDVR0fBFowWDAqoCigJoYk
+aHR0cDovL2NpLnRlc3QuZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRw
+Oi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDRwAw
+RAIgQWRuTZF3leFpzRKue3daygV71KviivEbuBFSIYK2NiMCICmyqcUBo8UPI5ZA
+0ygrVpDDJTREHTrFwYbNYpHyxlMs
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_ca_cert_nist.crt b/priv/sample_esipa_ssl_ca_cert_nist.crt
new file mode 100644
index 0000000..97ffc3a
--- /dev/null
+++ b/priv/sample_esipa_ssl_ca_cert_nist.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICUTCCAfegAwIBAgIJALh086v6bETTMAoGCCqGSM49BAMCMEQxEDAOBgNVBAMM
+B1Rlc3QgQ0kxETAPBgNVBAsMCFRFU1RDRVJUMRAwDgYDVQQKDAdSU1BURVNUMQsw
+CQYDVQQGEwJJVDAgFw0yNjExMTExMTUwMTBaGA8zMDI2MDMxNDExNTAxMFowRDEQ
+MA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoMB1JT
+UFRFU1QxCzAJBgNVBAYTAklUMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqEl1
+lVXROfZ8voTIuiq/dMjA//DFc4UYrskneGGUrFOmbv+dJLwCWnp6Zf9zv1wx4kmO
+Zu2jBrJXEDdKQxwR/aOBzzCBzDAdBgNVHQ4EFgQUXw8zVcF6/eagGxWGbcb21tlJ
+ck0wDwYDVR0TAQH/BAUwAwEB/zAXBgNVHSABAf8EDTALMAkGB2eBEgECAQAwDgYD
+VR0PAQH/BAQDAgEGMA4GA1UdEQQHMAWIA4g3ATBhBgNVHR8EWjBYMCqgKKAmhiRo
+dHRwOi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMS5jcmwwKqAooCaGJGh0dHA6
+Ly9jaS50ZXN0LmV4YW1wbGUuY29tL0NSTC0yLmNybDAKBggqhkjOPQQDAgNIADBF
+AiEAzJhQlFYKNXh4kGKgLQYRpMpzb0pqbmds1ouFA2V89gcCIEZViQ/LK4o6nc/C
++yAPxUxRfbvTAxGWQjXz86c9hENQ
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_ca_certbrainpool.crt b/priv/sample_esipa_ssl_ca_certbrainpool.crt
new file mode 100644
index 0000000..2528bbb
--- /dev/null
+++ b/priv/sample_esipa_ssl_ca_certbrainpool.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICXTCCAgOgAwIBAgIUHzwAZIx6ZL9XPy0z1v9Jjm0QH8IwCgYIKoZIzj0EAwIw
+RDEQMA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoM
+B1JTUFRFU1QxCzAJBgNVBAYTAklUMCAXDTI2MTExMTEwMzkyNFoYDzMwMjYwMzE0
+MTAzOTI0WjBEMRAwDgYDVQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQ
+MA4GA1UECgwHUlNQVEVTVDELMAkGA1UEBhMCSVQwWjAUBgcqhkjOPQIBBgkrJAMD
+AggBAQcDQgAEO5iop0qczj1WkoqgLDRfLS3vhvisVjWZ5QNi/yZnKdZEfkFCyMRu
+z5rpwM8FtJC4PF6HgOinCnwLgVIAWo9JAqOBzzCBzDAdBgNVHQ4EFgQUI99kfGY0
+WoztU3pn+0q2fTLKru8wDwYDVR0TAQH/BAUwAwEB/zAXBgNVHSABAf8EDTALMAkG
+B2eBEgECAQAwDgYDVR0PAQH/BAQDAgEGMA4GA1UdEQQHMAWIA4g3ATBhBgNVHR8E
+WjBYMCqgKKAmhiRodHRwOi8vY2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMS5jcmww
+KqAooCaGJGh0dHA6Ly9jaS50ZXN0LmV4YW1wbGUuY29tL0NSTC0yLmNybDAKBggq
+hkjOPQQDAgNIADBFAiEAgbw3inEeEzHVR36eVMTrJLPn303mfoAjeWs+sPxbz6AC
+IFJSIYApHZ1rsvFSRJ6cvMtjeeRyagpoXZkmJShzwbnP
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_ca_certnist.crt b/priv/sample_esipa_ssl_ca_certnist.crt
new file mode 100644
index 0000000..c58a564
--- /dev/null
+++ b/priv/sample_esipa_ssl_ca_certnist.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICXTCCAgKgAwIBAgIUDl8I3CHzso0RJbTF8zGEgxdT7EIwCgYIKoZIzj0EAwIw
+RDEQMA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoM
+B1JTUFRFU1QxCzAJBgNVBAYTAklUMCAXDTI2MTExMTEwMzkyNFoYDzMwMjYwMzE0
+MTAzOTI0WjBEMRAwDgYDVQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQ
+MA4GA1UECgwHUlNQVEVTVDELMAkGA1UEBhMCSVQwWTATBgcqhkjOPQIBBggqhkjO
+PQMBBwNCAAROOpfq/pshrxquNEfIs5jQMPRNFxssDM9PLq885ZA83SXmqLK0+iXT
+Y/OZq+kJDHanldUfBeolv+7tDUOfwi3Wo4HPMIHMMB0GA1UdDgQWBBRxBMjNoOmP
+b8rANZ9lHIaS8UTWxjAPBgNVHRMBAf8EBTADAQH/MBcGA1UdIAEB/wQNMAswCQYH
+Z4ESAQIBADAOBgNVHQ8BAf8EBAMCAQYwDgYDVR0RBAcwBYgDiDcBMGEGA1UdHwRa
+MFgwKqAooCaGJGh0dHA6Ly9jaS50ZXN0LmV4YW1wbGUuY29tL0NSTC0xLmNybDAq
+oCigJoYkaHR0cDovL2NpLnRlc3QuZXhhbXBsZS5jb20vQ1JMLTIuY3JsMAoGCCqG
+SM49BAMCA0kAMEYCIQC9zzHswPpYiWBZfyhTKATbzX/oFBiqrXP5D9c/Oh9jMQIh
+APZEVWiATu4TL23yjGrpKe3SXPpfeGFTNRcNBOhz3P52
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_cert_brainpool.crt b/priv/sample_esipa_ssl_cert_brainpool.crt
new file mode 100644
index 0000000..04928d9
--- /dev/null
+++ b/priv/sample_esipa_ssl_cert_brainpool.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAeqgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWjAUBgcq
+hkjOPQIBBgkrJAMDAggBAQcDQgAEe8imLHzo+2R2jyAqKCrOvr7ObqUK80yAH20E
+6TmWdlpVZ5x31/YfPYsA3C3FfdCGrN63lQ8gjJFa2KTvcP7JTaOB2jCB1zAfBgNV
+HSMEGDAWgBS3d+fe5eXWhptsQs0dfNiBjBwRTjAOBgNVHQ8BAf8EBAMCB4AwIAYD
+VR0lAQH/BBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdEQQYMBaCD2VpbS5l
+eGFtcGxlLmNvbYgDiDcUMGEGA1UdHwRaMFgwKqAooCaGJGh0dHA6Ly9jaS50ZXN0
+LmV4YW1wbGUuY29tL0NSTC0xLmNybDAqoCigJoYkaHR0cDovL2NpLnRlc3QuZXhh
+bXBsZS5jb20vQ1JMLTIuY3JsMAoGCCqGSM49BAMCA0cAMEQCIDsE3qDR6N1Q3rY1
+nUJnivnrq8i5VmYsVf1u7sgcS0yNAiBkfKAhukt5ePVbtvB3GnIyrlTIUnkDgZ5p
+uCh5psGS7g==
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_cert_brainpool.key b/priv/sample_esipa_ssl_cert_brainpool.key
new file mode 100644
index 0000000..f04e2e9
--- /dev/null
+++ b/priv/sample_esipa_ssl_cert_brainpool.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHgCAQEEIKEh9W/1vrnKKx4jhpMACQfQfNYujz0Eh0MKwQ0it7CgoAsGCSskAwMC
+CAEBB6FEA0IABHvIpix86Ptkdo8gKigqzr6+zm6lCvNMgB9tBOk5lnZaVWecd9f2
+Hz2LANwtxX3Qhqzet5UPIIyRWtik73D+yU0=
+-----END EC PRIVATE KEY-----
diff --git a/priv/sample_esipa_ssl_cert_nist.crt b/priv/sample_esipa_ssl_cert_nist.crt
new file mode 100644
index 0000000..9ae6cc5
--- /dev/null
+++ b/priv/sample_esipa_ssl_cert_nist.crt
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICQzCCAemgAwIBAgINA/8K/wAJmQEA/wD/ATAKBggqhkjOPQQDAjBEMRAwDgYD
+VQQDDAdUZXN0IENJMREwDwYDVQQLDAhURVNUQ0VSVDEQMA4GA1UECgwHUlNQVEVT
+VDELMAkGA1UEBhMCSVQwIBcNMjYxMTExMTE1MDEwWhgPMzAyNjAzMTQxMTUwMTBa
+MCcxCzAJBgNVBAYTAkRFMRgwFgYDVQQDDA9laW0uZXhhbXBsZS5jb20wWTATBgcq
+hkjOPQIBBggqhkjOPQMBBwNCAAQeyclGjjEzXmB3TPKJDPCG4Njfp/ovyFabDSh9
+xKHyidKd7h5aMmL5rGx340Zc24lq2LkEqsvI+k2GqNrIdjTCo4HaMIHXMB8GA1Ud
+IwQYMBaAFF8PM1XBev3moBsVhm3G9tbZSXJNMA4GA1UdDwEB/wQEAwIHgDAgBgNV
+HSUBAf8EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0RBBgwFoIPZWltLmV4
+YW1wbGUuY29tiAOINxQwYQYDVR0fBFowWDAqoCigJoYkaHR0cDovL2NpLnRlc3Qu
+ZXhhbXBsZS5jb20vQ1JMLTEuY3JsMCqgKKAmhiRodHRwOi8vY2kudGVzdC5leGFt
+cGxlLmNvbS9DUkwtMi5jcmwwCgYIKoZIzj0EAwIDSAAwRQIgBef/bub58mCD3sO4
+gmRIHn5YV+ZVgh9TIbpy6B+IAVICIQCKqleyw2BJmH+lbn+L42LnQ2FHTdffLyT4
++2oO0Sv6yg==
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_cert_nist.key b/priv/sample_esipa_ssl_cert_nist.key
new file mode 100644
index 0000000..9ecb50d
--- /dev/null
+++ b/priv/sample_esipa_ssl_cert_nist.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIGsfux35K7SWliBSdq8r4E8SOpciddGWvXpkem2ST7hBoAoGCCqGSM49
+AwEHoUQDQgAEHsnJRo4xM15gd0zyiQzwhuDY36f6L8hWmw0ofcSh8onSne4eWjJi
++axsd+NGXNuJati5BKrLyPpNhqjayHY0wg==
+-----END EC PRIVATE KEY-----
diff --git a/priv/sample_esipa_ssl_certbrainpool b/priv/sample_esipa_ssl_certbrainpool
new file mode 100644
index 0000000..05076ea
--- /dev/null
+++ b/priv/sample_esipa_ssl_certbrainpool
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICaTCCAhCgAwIBAgIUWh69sfVd32+Zg3Vy1NxVruf/BG0wCgYIKoZIzj0EAwIw
+RDEQMA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoM
+B1JTUFRFU1QxCzAJBgNVBAYTAklUMCAXDTI2MTExMTEwMzkyNFoYDzMwMjYwMzE0
+MTAzOTI0WjAnMQswCQYDVQQGEwJERTEYMBYGA1UEAwwPZWltLmV4YW1wbGUuY29t
+MFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGciivv1PfT0fvOcd5AHAt1rTb2f
+9Syt8M52J+ziz4HRUp2AtNnnvspfrdr+LBQi4NIBecKAZVAfrOZ5yxq9YWejgfkw
+gfYwHwYDVR0jBBgwFoAUI99kfGY0WoztU3pn+0q2fTLKru8wDgYDVR0PAQH/BAQD
+AgeAMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHREEGDAW
+gg9laW0uZXhhbXBsZS5jb22IA4g3FDBhBgNVHR8EWjBYMCqgKKAmhiRodHRwOi8v
+Y2kudGVzdC5leGFtcGxlLmNvbS9DUkwtMS5jcmwwKqAooCaGJGh0dHA6Ly9jaS50
+ZXN0LmV4YW1wbGUuY29tL0NSTC0yLmNybDAdBgNVHQ4EFgQUvRKae7oAjOA0K4PU
+jgh/s6cGvSAwCgYIKoZIzj0EAwIDRwAwRAIgHMst5l57sjDEJ0t8NEOF8a3vgyzd
+omh7UyC3W+Gp9BECIBd5+1FrbhTemil8XW7jw29GW40YFdGiaP9sKvFkAkQF
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_certbrainpool.key b/priv/sample_esipa_ssl_certbrainpool.key
new file mode 100644
index 0000000..c2c5745
--- /dev/null
+++ b/priv/sample_esipa_ssl_certbrainpool.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHgCAQEEIHrh94snLvZoeMdfw3B1EqzZbCuZuzgpatCy8v0ix2wDoAsGCSskAwMC
+CAEBB6FEA0IABGciivv1PfT0fvOcd5AHAt1rTb2f9Syt8M52J+ziz4HRUp2AtNnn
+vspfrdr+LBQi4NIBecKAZVAfrOZ5yxq9YWc=
+-----END EC PRIVATE KEY-----
diff --git a/priv/sample_esipa_ssl_certnist b/priv/sample_esipa_ssl_certnist
new file mode 100644
index 0000000..e8c7cd1
--- /dev/null
+++ b/priv/sample_esipa_ssl_certnist
@@ -0,0 +1,15 @@
+-----BEGIN CERTIFICATE-----
+MIICaDCCAg+gAwIBAgIUdvDey9ytozaiWWoTIlB9b+KsCQwwCgYIKoZIzj0EAwIw
+RDEQMA4GA1UEAwwHVGVzdCBDSTERMA8GA1UECwwIVEVTVENFUlQxEDAOBgNVBAoM
+B1JTUFRFU1QxCzAJBgNVBAYTAklUMCAXDTI2MTExMTEwMzkyNFoYDzMwMjYwMzE0
+MTAzOTI0WjAnMQswCQYDVQQGEwJERTEYMBYGA1UEAwwPZWltLmV4YW1wbGUuY29t
+MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEywweacqgPJp/Euur4RGcg6CT2avx
+gn1ozy0lec3PbGIBXssNZbjZrOw87KVuwm9YaY+T13Jd3jHHGRAnWIOoXqOB+TCB
+9jAfBgNVHSMEGDAWgBRxBMjNoOmPb8rANZ9lHIaS8UTWxjAOBgNVHQ8BAf8EBAMC
+B4AwIAYDVR0lAQH/BBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdEQQYMBaC
+D2VpbS5leGFtcGxlLmNvbYgDiDcUMGEGA1UdHwRaMFgwKqAooCaGJGh0dHA6Ly9j
+aS50ZXN0LmV4YW1wbGUuY29tL0NSTC0xLmNybDAqoCigJoYkaHR0cDovL2NpLnRl
+c3QuZXhhbXBsZS5jb20vQ1JMLTIuY3JsMB0GA1UdDgQWBBQ3zT7FxRMiZ4X0gKBA
+5o+1HYdaWTAKBggqhkjOPQQDAgNHADBEAiAemsTlA/Cg3USjZOHXdeEHJAnZ2Gx1
+YpzDtcOjxAp8UQIgBTOZ3TnMFDdrxLU31TliH1deS8jovOdIjPvZaVfKRIo=
+-----END CERTIFICATE-----
diff --git a/priv/sample_esipa_ssl_certnist.key b/priv/sample_esipa_ssl_certnist.key
new file mode 100644
index 0000000..1445504
--- /dev/null
+++ b/priv/sample_esipa_ssl_certnist.key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIEW9LsWmqRTf2IZ8os6mAWZke4mi/JUZgpBZOB3eMmmuoAoGCCqGSM49
+AwEHoUQDQgAEywweacqgPJp/Euur4RGcg6CT2avxgn1ozy0lec3PbGIBXssNZbjZ
+rOw87KVuwm9YaY+T13Jd3jHHGRAnWIOoXg==
+-----END EC PRIVATE KEY-----
diff --git a/priv/sample_ssl_cert.crt b/priv/sample_ssl_cert.crt
deleted file mode 100644
index 070adb2..0000000
--- a/priv/sample_ssl_cert.crt
+++ /dev/null
@@ -1,87 +0,0 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number:
- fa:ee:71:ac:9c:f8:5b:80:4d:ce:4b:d3:57:f8:32:09
- Signature Algorithm: sha256WithRSAEncryption
- Issuer: CN=Easy-RSA CA
- Validity
- Not Before: Apr 25 15:34:18 2024 GMT
- Not After : Aug 27 15:34:18 3023 GMT
- Subject: CN=alttest
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- Public-Key: (2048 bit)
- Modulus:
- 00:94:f6:7e:2b:41:ee:00:d6:f5:2f:54:66:f4:41:
- 39:69:ee:64:0b:15:46:59:ce:00:b6:bf:2a:aa:f7:
- 0e:75:c4:e5:a1:b7:b3:86:1c:24:06:fa:91:41:f1:
- 0b:87:3a:ee:26:27:28:62:1d:ac:35:54:e5:a3:ac:
- 48:a7:9a:aa:be:2e:60:52:7c:de:cf:c3:28:11:42:
- 57:52:9d:44:24:8f:b0:b6:fb:36:ef:4f:aa:7e:2c:
- 57:5e:07:8a:03:fc:18:03:e8:58:6b:88:98:a8:93:
- ac:69:01:b1:9c:ef:3b:fe:04:47:9e:28:e2:c6:15:
- f9:5c:df:de:24:1e:2f:a4:e0:b2:01:94:7e:b8:00:
- 76:b0:dd:36:55:22:f2:2d:3a:c7:b1:d8:67:7e:ca:
- 2d:22:b8:dc:9d:87:34:0c:c1:11:c7:72:2b:b8:ed:
- 1b:d8:75:6d:0d:49:e1:f6:bf:12:dd:19:84:87:2e:
- 6d:c6:7d:7e:42:33:2a:05:a2:ff:5d:07:10:83:a4:
- c0:35:a9:f8:00:96:29:9f:bc:53:6c:81:18:7b:e4:
- c6:41:54:7f:12:a3:5a:77:cb:0f:cf:52:8c:83:9a:
- 30:03:ca:77:65:b2:c0:0b:00:67:86:50:77:b1:f5:
- 79:b7:20:62:25:f8:3b:ca:cd:c4:da:d1:c0:81:fd:
- db:8b
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- X509v3 Subject Key Identifier:
- 04:2E:A0:68:00:D7:DB:D3:E5:73:93:FC:1C:E5:30:78:D1:5B:24:E8
- X509v3 Authority Key Identifier:
- keyid:DB:4B:A9:95:2C:AD:05:9F:CF:C8:3C:DE:3B:2C:27:81:D7:28:65:48
- DirName:/CN=Easy-RSA CA
- serial:66:32:E7:15:AE:20:E2:D7:6B:0E:3B:A3:50:C1:25:5A:45:69:14:A0
- X509v3 Extended Key Usage:
- TLS Web Server Authentication
- X509v3 Key Usage:
- Digital Signature, Key Encipherment
- X509v3 Subject Alternative Name:
- DNS:localhost, IP Address:127.0.0.1
- Signature Algorithm: sha256WithRSAEncryption
- Signature Value:
- 41:35:5e:7e:14:46:96:3e:c9:8e:fe:88:f8:d6:07:6b:8b:b7:
- 8e:02:c4:63:97:79:ec:4a:46:cc:72:4d:7a:cc:9b:13:d9:6b:
- 5c:f9:b5:b6:c8:04:cf:f9:e0:23:b2:4e:ec:b0:80:85:84:be:
- a9:1d:8d:4e:8b:26:09:d1:50:83:df:a2:d6:cc:ec:8c:36:b0:
- c4:a9:cb:14:ba:2d:e2:f3:93:9a:e5:ae:fe:a6:b7:37:c2:17:
- 52:17:b2:f3:4e:3a:04:88:9b:50:7e:c5:73:6f:63:5c:ab:32:
- 47:0d:1c:b4:63:d4:de:c0:6b:ce:ec:26:8d:8c:40:83:c1:c2:
- 29:48:f8:0f:a1:b1:f9:5e:2b:91:fb:0d:32:26:db:73:ef:36:
- 03:d1:24:3e:59:8d:39:09:29:61:85:64:69:be:ee:ec:6d:dd:
- 6d:7c:93:22:b5:44:19:ed:11:f5:46:7d:f5:be:74:ce:46:85:
- 5d:24:9f:4e:b8:27:4b:7f:ba:72:5c:f7:24:10:b6:7b:fb:cb:
- a0:d1:59:5b:d3:5f:e9:a3:e9:fd:c3:36:2f:b6:b5:eb:e6:1d:
- 9b:71:d6:53:26:95:26:64:14:25:47:b8:3b:d4:96:be:51:98:
- e5:4d:cf:47:66:e8:fc:e9:bc:e6:6c:2b:e6:87:d8:cb:64:82:
- d8:63:31:c9
------BEGIN CERTIFICATE-----
-MIIDdDCCAlygAwIBAgIRAPrucayc+FuATc5L01f4MgkwDQYJKoZIhvcNAQELBQAw
-FjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwIBcNMjQwNDI1MTUzNDE4WhgPMzAyMzA4
-MjcxNTM0MThaMBIxEDAOBgNVBAMMB2FsdHRlc3QwggEiMA0GCSqGSIb3DQEBAQUA
-A4IBDwAwggEKAoIBAQCU9n4rQe4A1vUvVGb0QTlp7mQLFUZZzgC2vyqq9w51xOWh
-t7OGHCQG+pFB8QuHOu4mJyhiHaw1VOWjrEinmqq+LmBSfN7PwygRQldSnUQkj7C2
-+zbvT6p+LFdeB4oD/BgD6FhriJiok6xpAbGc7zv+BEeeKOLGFflc394kHi+k4LIB
-lH64AHaw3TZVIvItOsex2Gd+yi0iuNydhzQMwRHHciu47RvYdW0NSeH2vxLdGYSH
-Lm3GfX5CMyoFov9dBxCDpMA1qfgAlimfvFNsgRh75MZBVH8So1p3yw/PUoyDmjAD
-yndlssALAGeGUHex9Xm3IGIl+DvKzcTa0cCB/duLAgMBAAGjgb4wgbswCQYDVR0T
-BAIwADAdBgNVHQ4EFgQUBC6gaADX29Plc5P8HOUweNFbJOgwUQYDVR0jBEowSIAU
-20uplSytBZ/PyDzeOywngdcoZUihGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENB
-ghRmMucVriDi12sOO6NQwSVaRWkUoDATBgNVHSUEDDAKBggrBgEFBQcDATALBgNV
-HQ8EBAMCBaAwGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/AAABMA0GCSqGSIb3DQEB
-CwUAA4IBAQBBNV5+FEaWPsmO/oj41gdri7eOAsRjl3nsSkbMck16zJsT2Wtc+bW2
-yATP+eAjsk7ssICFhL6pHY1OiyYJ0VCD36LWzOyMNrDEqcsUui3i85Oa5a7+prc3
-whdSF7LzTjoEiJtQfsVzb2NcqzJHDRy0Y9TewGvO7CaNjECDwcIpSPgPobH5XiuR
-+w0yJttz7zYD0SQ+WY05CSlhhWRpvu7sbd1tfJMitUQZ7RH1Rn31vnTORoVdJJ9O
-uCdLf7pyXPckELZ7+8ug0Vlb01/po+n9wzYvtrXr5h2bcdZTJpUmZBQlR7g71Ja+
-UZjlTc9HZuj86bzmbCvmh9jLZILYYzHJ
------END CERTIFICATE-----
diff --git a/priv/sample_ssl_cert.key b/priv/sample_ssl_cert.key
deleted file mode 100644
index c334f49..0000000
--- a/priv/sample_ssl_cert.key
+++ /dev/null
@@ -1,28 +0,0 @@
------BEGIN PRIVATE KEY-----
-MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCU9n4rQe4A1vUv
-VGb0QTlp7mQLFUZZzgC2vyqq9w51xOWht7OGHCQG+pFB8QuHOu4mJyhiHaw1VOWj
-rEinmqq+LmBSfN7PwygRQldSnUQkj7C2+zbvT6p+LFdeB4oD/BgD6FhriJiok6xp
-AbGc7zv+BEeeKOLGFflc394kHi+k4LIBlH64AHaw3TZVIvItOsex2Gd+yi0iuNyd
-hzQMwRHHciu47RvYdW0NSeH2vxLdGYSHLm3GfX5CMyoFov9dBxCDpMA1qfgAlimf
-vFNsgRh75MZBVH8So1p3yw/PUoyDmjADyndlssALAGeGUHex9Xm3IGIl+DvKzcTa
-0cCB/duLAgMBAAECggEACbh+yeqG0iiKM3PPNsfoK+YnQnnkRLP8DpuG+Jp1UnDD
-iLwTdlWbxut5qH3xrKTHKazge8FH8ur+rqGYKX0fAJjHfFqIXQfKiOXKtlTA6kne
-KZ1XG7gX03Kn+ODbvCAqnlv+eSCe0FFirNo0HEjtofPm4IahKx//98mRa3X00fjQ
-41+pwrtj5TBeHc8V9QiHDDTfAtUcRKbA3yPyla0xdHektCDak1U6CMoR/p55l+rM
-2ffBHJA+wNc28NfxV+ZY1VbpZ0qszAp3/U+gQRn0P9+2scIAWzRBlmQ37EfAMmM8
-ciembbDpoi7/tMQ0UhrhCR/o5hatQwS8ACEuLC3ucQKBgQDLBGSvuGBvWYget/2+
-jhCjYyH5s0Pye0iCcUlZDIsi1RjtgQfXNo5J1yP7uaPHJ/3Saoohb844CD0+kLjS
-tYpGSePL+q8HGnjfutjy0Xstew5peD6quc15G6gyfCBKdC39R9BfuC2emw9eZeiG
-qRmGpFKwD3PDS5ZNz3HJ/WG41QKBgQC71rlMXGsnq63OVcKvw32Kn6XVsHXhoxFd
-DWy43QbGqVV2Lk36/mr8iotBOV4BsofWD8Fx8447lhERuTi9NHSlIaAldnng0Eok
-RoW+Lr6QbQanuLjM+NLhPcdrhZPrp4pHFUgnj2PjmLAngmvyaa4l/m88UvYVWPyK
-vxUzNtNy3wKBgQCL9ZpoXib1fPbPnq6rOQuVaFla6NBWEdH6Q5l6b6BYQiruSb8b
-CnxrwYsIFoInYZWmA1b5GDhF/sAiKumQMiGCtZv62vbhYcmlDA5W0D4oK6bS5Vfm
-oTNbY8rACzzDt3ahH2ozIykoJ+QfgwgcFeYIIa7zu6NmJu0W9YWP6EP/hQKBgApq
-Y6f6T+7JNEAGvV7lpiZzp8xrln3GfwX74pV1nBST+yssciKCzQfn3sTlG3NYpPOX
-uBBLgw2GyreC38SODhHCBZFOOn/ezN2qE2xyRxrXENFoCsdC3N6kgFRT+dnNVnuO
-kIuxBcbvBoWKU9YDSibNLvnXV9HjN02yPsiyN5NdAoGAZj0u++sJWrYzBeGDO0ew
-a0GJnQK8/4NR+vJz/vvmL/lidfKOFJ5/lNANRha7ep89ig7G96ejabEitghIH9I7
-0+OxHz5uk+lidlTPxTg64ELlJnbsPzdI6QygeFVp8QqxEYgzB3zi8ropSoVIKVkB
-2+9FJlDHUFB+PG7cbfR70a8=
------END PRIVATE KEY-----
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/44033?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: Ie75293e5177ccacc45e11d85ef526159e999b7bb
Gerrit-Change-Number: 44033
Gerrit-PatchSet: 5
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1
0
[S] Change in onomondo-eim[master]: eim_cfg: insert eIM ESipa SSL CA-certificate into eIM configuration
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/44062?usp=email )
Change subject: eim_cfg: insert eIM ESipa SSL CA-certificate into eIM configuration
......................................................................
eim_cfg: insert eIM ESipa SSL CA-certificate into eIM configuration
The EimConfigurationData prvides a field to pin a CA-certificate that
allows the IPAd to validate the SSL certificate used on the ESipa
interface. If the ESipa SSL certificate is valid, the IPAd can be
sure that it is talking to the its trusted eIM and not to some
malicious entity.
Change-Id: I4f985902b5f9ad88075b16151d38dd5382f17668
Related: SYS#8287
---
M config/sys.config
M config/sys.dev.config
M src/crypto_utils.erl
M src/eim_cfg.erl
M src/onomondo_eim_app.erl
5 files changed, 42 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
diff --git a/config/sys.config b/config/sys.config
index 6e8c2d2..8253e80 100644
--- a/config/sys.config
+++ b/config/sys.config
@@ -3,6 +3,7 @@
{esipa_ip, {127, 0, 0, 1}},
{esipa_port, 8000},
{esipa_ssl_disable, false},
+ {esipa_ssl_ca_cert, "sample_esipa_ssl_ca_cert_nist.crt"},
{esipa_ssl_cert, "sample_esipa_ssl_cert_nist.crt"},
{esipa_ssl_key, "sample_esipa_ssl_cert_nist.key"},
{rest_ip, {127, 0, 0, 1}},
diff --git a/config/sys.dev.config b/config/sys.dev.config
index 4e702f5..9a963f9 100644
--- a/config/sys.dev.config
+++ b/config/sys.dev.config
@@ -3,6 +3,7 @@
{esipa_ip, {127, 0, 0, 1}},
{esipa_port, 8000},
{esipa_ssl_disable, true},
+ {esipa_ssl_ca_cert, "sample_esipa_ssl_ca_cert_nist.crt"},
{esipa_ssl_cert, "sample_esipa_ssl_cert_nist.crt"},
{esipa_ssl_key, "sample_esipa_ssl_cert_nist.key"},
{rest_ip, {127, 0, 0, 1}},
diff --git a/src/crypto_utils.erl b/src/crypto_utils.erl
index ee7e6d3..b2bced5 100644
--- a/src/crypto_utils.erl
+++ b/src/crypto_utils.erl
@@ -12,7 +12,8 @@
verify_euiccPackageErrorSigned/2,
store_euicc_pubkey_from_authenticateResponseOk/2,
store_euicc_pubkey_from_ipaEuiccDataResponse/2,
- test_eim_certificate/0
+ test_eim_certificate/0,
+ test_esipa_ssl_certificate/0
]).
%Convert from DER encoded signature format to plain format (see also BSI TR03111 5.2.1)
@@ -355,3 +356,26 @@
true ->
ok
end.
+
+% Make sure the configured ESipa SSL certificate is valid against the provided CA certificate. This is to confirm that
+% the CA certificate, which is provided in the eIM configuration (REST API) matches to the sub certificate used on the
+% ESipa interface.
+test_esipa_ssl_certificate() ->
+ {ok, EsipaSslCaCertPath} = utils:get_env_priv_file_path(onomondo_eim, esipa_ssl_ca_cert),
+ {ok, EsipaSslCaCertPem} = file:read_file(EsipaSslCaCertPath),
+ [{'Certificate', EsipaSslCaCertBer, not_encrypted}] = public_key:pem_decode(EsipaSslCaCertPem),
+ {ok, EsipaSslCaCert} = 'PKIX1Explicit88':decode('Certificate', EsipaSslCaCertBer),
+
+ {ok, EsipaSslCertPath} = utils:get_env_priv_file_path(onomondo_eim, esipa_ssl_cert),
+ {ok, EsipaSslCertPem} = file:read_file(EsipaSslCertPath),
+ [{'Certificate', EsipaSslCertBer, not_encrypted}] = public_key:pem_decode(EsipaSslCertPem),
+ {ok, EsipaSslCert} = 'PKIX1Explicit88':decode('Certificate', EsipaSslCertBer),
+ Result = verify_cert(EsipaSslCaCert, EsipaSslCert),
+ case Result of
+ ok ->
+ ok;
+ _ ->
+ throw(
+ "eIM ESipa SSL certificate not valid against CA certificate, check certificates (sys.config)!~n"
+ )
+ end.
diff --git a/src/eim_cfg.erl b/src/eim_cfg.erl
index b4754d7..54cb278 100644
--- a/src/eim_cfg.erl
+++ b/src/eim_cfg.erl
@@ -37,6 +37,15 @@
EimCertSubjectPublicKeyInfo.
+% Load the trustedCertificateTls from the configured ESipa SSL certificate (see sys.config).
+get_trustedCertificateTls() ->
+ % Load ESipa SSL certificate and extract public key.
+ {ok, EimCertPath} = utils:get_env_priv_file_path(onomondo_eim, esipa_ssl_ca_cert),
+ {ok, EimCertPem} = file:read_file(EimCertPath),
+ [{'Certificate', EimCertBer, not_encrypted}] = public_key:pem_decode(EimCertPem),
+ {ok, EimCert} = 'PKIX1Explicit88':decode('Certificate', EimCertBer),
+ EimCert.
+
% Generate an encoded eIM configuration string, which can be used to program the eIM configuration into an eUICC,
% either via ES10b:AddInitialEim or ESep:addEim (eUICC package, eCO). The Format parameter selects how the output data
% shall be formatted. Two formats are possible: request: AddInitialEimRequest, single: EimConfigurationData
@@ -45,6 +54,7 @@
{ok, EimFqdn} = application:get_env(onomondo_eim, eim_fqdn),
EimCertSubjectPublicKeyInfo = get_eimPublicKey_from_eim_cert(),
{ok, CounterValue} = application:get_env(onomondo_eim, counter_value),
+ EsipaSslCaCert = get_trustedCertificateTls(),
% Generate eIM configuration
EimConfigurationData = #{
@@ -59,6 +69,8 @@
associationToken => -1,
% Mandatory
eimPublicKeyData => {eimPublicKey, EimCertSubjectPublicKeyInfo},
+ % Optional: Pin the ESipa SSL/TLS certificate of the eIM. The certificate is identified by its public key
+ trustedPublicKeyDataTls => {trustedCertificateTls, EsipaSslCaCert},
% This eIM implementation currently only supports ESipa via HTTPs where the only supported eIM Package
% transfer procedure is the eIM Package Retrieval procedure (see also SGP.32, section 3.1.1.1.
eimSupportedProtocol => [eimRetrieveHttps],
diff --git a/src/onomondo_eim_app.erl b/src/onomondo_eim_app.erl
index 227c938..acdfefb 100644
--- a/src/onomondo_eim_app.erl
+++ b/src/onomondo_eim_app.erl
@@ -107,6 +107,9 @@
% Ensure that the key material that is used for signing PSMOs and eCOs is correctly configured and valid.
crypto_utils:test_eim_certificate(),
+ % Ensure that the SSL/TLS certificate used on the ESipa interface is valid against its CA certificate
+ crypto_utils:test_esipa_ssl_certificate(),
+
% Startup database
ok = mnesia_db:init(),
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/44062?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I4f985902b5f9ad88075b16151d38dd5382f17668
Gerrit-Change-Number: 44062
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1
0
[S] Change in onomondo-eim[master]: eim_cfg: insert eIM ESipa SSL CA-certificate into eIM configuration
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
Attention is currently required from: dexter.
laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/44062?usp=email )
Change subject: eim_cfg: insert eIM ESipa SSL CA-certificate into eIM configuration
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/44062?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I4f985902b5f9ad88075b16151d38dd5382f17668
Gerrit-Change-Number: 44062
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 18 Nov 2026 18:06:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
1
0
[L] Change in onomondo-eim[master]: contrib/sample_ssl_certs: add scripts to generate SSL certificates
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
Attention is currently required from: dexter.
laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/44033?usp=email )
Change subject: contrib/sample_ssl_certs: add scripts to generate SSL certificates
......................................................................
Patch Set 5: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/44033?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: Ie75293e5177ccacc45e11d85ef526159e999b7bb
Gerrit-Change-Number: 44033
Gerrit-PatchSet: 5
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 18 Nov 2026 18:06:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
1
0
[L] Change in osmo-ttcn3-hacks[master]: eIM_Tests: add a subset of SGP.33-3/SGP.23 testcases
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43904?usp=email )
Change subject: eIM_Tests: add a subset of SGP.33-3/SGP.23 testcases
......................................................................
eIM_Tests: add a subset of SGP.33-3/SGP.23 testcases
GSMA SGP.33-3 describes a number of testcases. Let's pick a subset
of useful testcases and add those to the testsuite.
Change-Id: Ide8fdec56eca4d4577baedfacd2a6a675d9c0e6e
Related: SYS#8203
---
M eim/eIM_Tests.ttcn
M eim/prepare.sh
2 files changed, 731 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/eim/eIM_Tests.ttcn b/eim/eIM_Tests.ttcn
index 1ad6efa..29ccfdd 100644
--- a/eim/eIM_Tests.ttcn
+++ b/eim/eIM_Tests.ttcn
@@ -129,7 +129,7 @@
return vc_conn;
}
-private function f_init(charstring id, float t_guard := 40.0) runs on MTC_CT {
+private function f_init(charstring id, float t_guard := 60.0) runs on MTC_CT {
g_Tguard.start(t_guard);
activate(as_Tguard());
@@ -207,6 +207,15 @@
HTTP_SRV[0].send(ts_http_resp(es9p_res_json));
}
+/* Send Es9p HTTP response (error) */
+private function f_es9p_send_err(template JSON_ESx_ResponseHeader json_err) runs on eIM_ConnHdlr {
+ var charstring es9p_res_json;
+ var JSON_ES9p_RemoteProfileProvisioningResponse json_pdu;
+ json_pdu.emptyResponse.header := valueof(json_err);
+ es9p_res_json := oct2char(enc_JSON_ES9p_RemoteProfileProvisioningResponse(json_pdu));
+ HTTP_SRV[0].send(ts_http_resp(es9p_res_json));
+}
+
/* Perform Es9p HTTP request/response cycle */
private function f_es9p_transceive(RemoteProfileProvisioningResponse es9p_res,
template RemoteProfileProvisioningRequest expected_es9p_req := omit)
@@ -1012,7 +1021,702 @@
setverdict(pass);
}
+/* See SGP.33-3, section 4.2.12.2.1, Test Sequence #01 and SGP.23, section 4.4.23.2.1, Test Sequence #01 */
+private function f_TC_eIM_AuthenticateClient_Nominal_without_Confirmation_Code(charstring id) runs on eIM_ConnHdlr {
+ var charstring resource_id;
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eim_transaction_id;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+ var charstring activationCode := f_SGP23_ACTIVATION_CODE_1(test_dp_address := smdpp_addr);
+
+ /* Create a new download at the eIM */
+ resource_id := f_rest_create_order("download", ts_JSON_REST_download_order(SGP23_EID1, activationCode));
+
+ /* Check the eIM for new eIM packages, we expect to get a profileDownloadTriggerRequest that contains the
+ * activationCode that we have created the download with (see above) */
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(SGP23_EID1)),
+ tr_getEimPackageResponse_dnlTrigReq(
+ tr_profileDownloadTriggerRequest(activationCode)));
+ eim_transaction_id := valueof(esipa_res.getEimPackageResponse.profileDownloadTriggerRequest.eimTransactionId);
+
+
+ /* Step IC1/IC2: */
+ f_esipa_send(valueof(ts_initiateAuthenticationRequestEsipa(euiccChallenge := SGP23_S_EUICC_CHALLENGE,
+ smdpAddress := smdpp_addr,
+ eimTransactionId := eim_transaction_id)));
+ f_es9p_receive(tr_initiateAuthenticationRequest(euiccChallenge := SGP23_S_EUICC_CHALLENGE,
+ smdpAddress := smdpp_addr));
+
+ /* Step 1a Initiate Authentication Response */
+ var template RemoteProfileProvisioningResponse INITIATE_AUTH_OK :=
+ ts_initiateAuthenticationResponse(
+ transactionId := SGP23_S_TRANSACTION_ID,
+ serverSigned1 := ts_serverSigned1(transactionId := SGP23_S_TRANSACTION_ID,
+ euiccChallenge := SGP23_S_EUICC_CHALLENGE,
+ serverAddress := smdpp_addr,
+ serverChallenge := SGP23_SMDP_CHALLENGE),
+ serverSignature1 := SGP23_SERVER_SIGNATURE1,
+ euiccCiPKIdToBeUsed := SGP23_EUICC_CI_PK_ID_TO_BE_USED,
+ serverCertificate := ts_cert_s_sm_dpauth_nist);
+ f_es9p_send(valueof(INITIATE_AUTH_OK));
+ var template EsipaMessageFromEimToIpa R_INITIATE_AUTH_OK :=
+ tr_initiateAuthenticationResponseEsipa(transactionId := SGP23_S_TRANSACTION_ID,
+ serverSigned1 := tr_serverSigned1,
+ serverSignature1 := SGP23_SERVER_SIGNATURE1,
+ euiccCiPKIdentifierToBeUsed := SGP23_EUICC_CI_PK_ID_TO_BE_USED,
+ serverCertificate := ?,
+ matchingId := omit,
+ ctxParams1 := omit)
+ f_esipa_receive(R_INITIATE_AUTH_OK);
+
+ /* Step 1b: Authenticatate Server Response */
+ var template SGP32_AuthenticateServerResponse SGP32_S_AUTH_SERVER_MATCH_ID_DEV_INFO :=
+ ts_SGP32_authenticateServerResponse(
+ euiccSigned1 := ts_SGP32_euiccSigned1(transactionId := SGP23_S_TRANSACTION_ID,
+ serverAddress := smdpp_addr,
+ serverChallenge := SGP23_SMDP_CHALLENGE,
+ ctxParams1 := ts_ctxParams1(matchingId := SGP23_MATCHING_ID_1,
+ imei := SGP23_S_IMEI,
+ tac := SGP23_S_TAC)
+ ),
+ euiccSignature1 := SGP23_EUICC_SIGNATURE1,
+ euiccCertificate := ts_cert_euicc_nist,
+ eumCertificate := ts_cert_eum_nist);
+ f_esipa_send(valueof(ts_authenticateClientRequestEsipa(authenticateServerResponse :=
+ SGP32_S_AUTH_SERVER_MATCH_ID_DEV_INFO)));
+ var template AuthenticateServerResponse R_AUTH_SERVER_MATCH_ID_DEV_INFO :=
+ tr_authenticateServerResponse(transactionId := SGP23_S_TRANSACTION_ID,
+ serverAddress := smdpp_addr,
+ serverChallenge := SGP23_SMDP_CHALLENGE,
+ ctxParams1 := tr_ctxParams1(matchingId := SGP23_MATCHING_ID_1,
+ imei := SGP23_S_IMEI, tac := SGP23_S_TAC),
+ euiccSignature1 := SGP23_EUICC_SIGNATURE1,
+ euiccCertificate := ?,
+ eumCertificate := ?);
+ f_es9p_receive(tr_authenticateClientRequest(transactionId := SGP23_S_TRANSACTION_ID,
+ authenticateServerResponse := R_AUTH_SERVER_MATCH_ID_DEV_INFO));
+
+ /* Step 2a: Download profile normally */
+ f_es9p_send(valueof(ts_authenticateClientResponseEs9));
+ f_esipa_receive(tr_authenticateClientResponseEsipa_dpe);
+ f_esipa_send(valueof(ts_getBoundProfilePackageRequestEsipa));
+ f_es9p_transceive(valueof(ts_getBoundProfilePackageResponse), tr_getBoundProfilePackageRequest);
+ f_esipa_receive(tr_getBoundProfilePackageResponseEsipa);
+
+ /* Step 2b: Remove rest resource
+ * (Even though the profile package is downloaded at this point, the transaction will still linger because
+ * the eIM is waiting for the notification that confirms the success or failure of the download. When we
+ * delete the rest resource, this lingering transaction is also removed from the eIM and the testcase
+ * should exit with a clean state) */
+ f_rest_delete_resource(resource_id, "download");
+
+ f_sleep(2.0);
+ setverdict(pass);
+}
+testcase TC_eIM_AuthenticateClient_Nominal_without_Confirmation_Code() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(f_TC_eIM_AuthenticateClient_Nominal_without_Confirmation_Code), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* Helper function to generate a common eIM related error case.
+ * See SGP.33-3, section 4.2.12.2.2, and SGP.23, section 4.4.23.2.2 */
+private function f_TC_eIM_AuthenticateClient_ErrorCases_Error_eim(
+ charstring id,
+ charstring subjectCode,
+ charstring reasonCode)
+runs on eIM_ConnHdlr {
+ var charstring resource_id;
+ var template JSON_REST_Results expected_outcome := { { authenticateClientError := "undefinedError" } };
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eim_transaction_id;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+ var charstring activation_code := f_SGP23_ACTIVATION_CODE_1(test_dp_address := smdpp_addr);
+
+ /* Create a new download at the eIM */
+ resource_id := f_rest_create_order("download", ts_JSON_REST_download_order(SGP23_EID1, activation_code));
+
+ /* Check the eIM for new eIM packages, we expect to get a profileDownloadTriggerRequest that contains the
+ * activationCode that we have created the download with (see above) */
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(SGP23_EID1)),
+ tr_getEimPackageResponse_dnlTrigReq(
+ tr_profileDownloadTriggerRequest(activation_code)));
+ eim_transaction_id := valueof(esipa_res.getEimPackageResponse.profileDownloadTriggerRequest.eimTransactionId);
+
+ /* Step IC1/IC2: */
+ f_esipa_send(valueof(ts_initiateAuthenticationRequestEsipa(smdpAddress := smdpp_addr,
+ eimTransactionId := eim_transaction_id)));
+ f_es9p_receive(tr_initiateAuthenticationRequest);
+
+ /* Step 1 Initiate Authentication Response */
+ f_es9p_send(valueof(ts_initiateAuthenticationResponse));
+ f_esipa_receive(tr_initiateAuthenticationResponseEsipa);
+ f_esipa_send(valueof(ts_authenticateClientRequestEsipa));
+ f_es9p_receive(tr_authenticateClientRequest);
+
+ /* Step 2a: SM-DP+ error response */
+ f_es9p_send_err(ts_responseHeader(status := "Failed",
+ statusCodeData := ts_statusCodeData(subjectCode := subjectCode,
+ reasonCode := reasonCode)));
+ f_esipa_receive(tr_authenticateClientResponseEsipa_err, tr_statusCodeData);
+
+ /* Step 2a: Check outcome and remove rest resource */
+ f_rest_lookup_resource(resource_id, "download", tr_JSON_REST_success(outcome := expected_outcome) );
+ f_rest_delete_resource(resource_id, "download");
+
+ f_sleep(2.0);
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.12.2.2, Test Sequence #01 and SGP.23, section 4.4.23.2.2, Test Sequence #01 */
+private function f_TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_EUM_Certificate(charstring id)
+runs on eIM_ConnHdlr {
+ f_TC_eIM_AuthenticateClient_ErrorCases_Error_eim(id, "8.1.2", "6.1");
+}
+testcase TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_EUM_Certificate() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(f_TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_EUM_Certificate), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* Helper function to generate a common IPAd related error case.
+ * See SGP.33-3, section 4.2.12.2.2, and SGP.23, section 4.4.23.2.2 */
+private function f_TC_eIM_AuthenticateClient_ErrorCases_Error_ipad(
+ template RemoteProfileProvisioningResponse invalid_authenticateClientResponseEs9)
+runs on eIM_ConnHdlr {
+ var charstring resource_id;
+ var template JSON_REST_Results expected_outcome := { { eimProcedureError := "stuckOrder" } };
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eim_transaction_id;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+ var charstring activation_code := f_SGP23_ACTIVATION_CODE_1(test_dp_address := smdpp_addr);
+
+ /* Create a new download at the eIM */
+ resource_id := f_rest_create_order("download", ts_JSON_REST_download_order(SGP23_EID1, activation_code));
+
+ /* Check the eIM for new eIM packages, we expect to get a profileDownloadTriggerRequest that contains the
+ * activationCode that we have created the download with (see above) */
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(SGP23_EID1)),
+ tr_getEimPackageResponse_dnlTrigReq(
+ tr_profileDownloadTriggerRequest(activation_code)));
+ eim_transaction_id := valueof(esipa_res.getEimPackageResponse.profileDownloadTriggerRequest.eimTransactionId);
+
+ /* Step IC1/IC2: */
+ f_esipa_send(valueof(ts_initiateAuthenticationRequestEsipa(smdpAddress := smdpp_addr,
+ eimTransactionId := eim_transaction_id)));
+ f_es9p_receive(tr_initiateAuthenticationRequest);
+
+ /* Step 1 Initiate Authentication Response */
+ f_es9p_send(valueof(ts_initiateAuthenticationResponse));
+ f_esipa_receive(tr_initiateAuthenticationResponseEsipa);
+ f_esipa_send(valueof(ts_authenticateClientRequestEsipa));
+ f_es9p_receive(tr_authenticateClientRequest);
+
+ /* Step 2a: SM-DP+ responds with invalid response */
+ f_es9p_send(valueof(invalid_authenticateClientResponseEs9));
+ f_esipa_receive(tr_authenticateClientResponseEsipa_dpe);
+
+ /* Step 2b: IPAd aborts the procedure by doing nothing. After some time (30 sec.), the eIM should detect that
+ * nothing happens anymore and mark the order as stuck. To allow this testcase to succed, the sys.config value
+ * for rest_timeout_stuck must be set low enough. A recommended setting is 15 sec. */
+ f_sleep(30.0);
+
+ /* Step 2c: Check outcome and remove rest resource, we expect that the eIM has detected a stuck order */
+ f_rest_lookup_resource(resource_id, "download", tr_JSON_REST_success(outcome := expected_outcome) );
+ f_rest_delete_resource(resource_id, "download");
+
+ f_sleep(2.0);
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.12.2.2, Test Sequence #15 and SGP.23, section 4.4.23.2.2, Test Sequence #15 */
+private function f_TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_SM_DPp_pb_certificate(charstring id)
+runs on eIM_ConnHdlr {
+ f_TC_eIM_AuthenticateClient_ErrorCases_Error_ipad(ts_authenticateClientResponseEs9);
+}
+testcase TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_SM_DPp_pb_certificate() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_SM_DPp_pb_certificate), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* Helper function to pass a notification (IPAd/TTCN3 -> eIM -> SM-DP+/TTCN3).
+ * See SGP.33-3, section 4.2.13.2.1 and SGP.23, section 4.4.24.2.1 */
+private function f_TC_eIM_ES9p_HandleNotification_Pass_Notifications(
+ template OtherSignedNotification otherSignedNotif_esipa,
+ template OtherSignedNotification otherSignedNotif_es9p)
+runs on eIM_ConnHdlr {
+ f_esipa_send(valueof(ts_handleNotificationEsipa_pendingNotif(
+ ts_SGP32_pendingNotification_otherSignedNotif(
+ otherSignedNotification := otherSignedNotif_esipa))));
+ f_es9p_transceive_empty_response(tr_handleNotification(
+ pendingNotification := tr_pendingNotification_otherSignedNotif(
+ otherSignedNotification := otherSignedNotif_es9p)));
+}
+
+/* Helper function to generate a (nominal) profile download.
+ * See SGP.33-3, section 4.2.13.2.1 and SGP.23, section 4.4.24.2.1 */
+private function f_TC_eIM_ES9p_HandleNotification_Nominal_PIR(
+ template SGP32_ProfileInstallationResult prfleInstRslt_esipa,
+ template ProfileInstallationResult prfleInstRslt_es9p,
+ template JSON_REST_Results expected_outcome := ?)
+runs on eIM_ConnHdlr {
+ var charstring resource_id;
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eim_transaction_id;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+ var charstring activation_code := f_SGP23_ACTIVATION_CODE_1(test_dp_address := smdpp_addr);
+
+ /* Create a new download at the eIM */
+ resource_id := f_rest_create_order("download", ts_JSON_REST_download_order(SGP23_EID1, activation_code));
+
+ /* Check the eIM for new eIM packages, we expect to get a profileDownloadTriggerRequest that contains the
+ * activationCode that we have created the download with (see above) */
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(SGP23_EID1)),
+ tr_getEimPackageResponse_dnlTrigReq(
+ tr_profileDownloadTriggerRequest(activation_code)));
+ eim_transaction_id := valueof(esipa_res.getEimPackageResponse.profileDownloadTriggerRequest.eimTransactionId);
+
+ /* Step IC1/IC2: Initiate Authentication */
+ f_esipa_send(valueof(ts_initiateAuthenticationRequestEsipa(smdpAddress := smdpp_addr,
+ eimTransactionId := eim_transaction_id)));
+ f_es9p_receive(tr_initiateAuthenticationRequest);
+ f_es9p_send(valueof(ts_initiateAuthenticationResponse));
+ f_esipa_receive(tr_initiateAuthenticationResponseEsipa);
+
+ /* Step IC3: Authenticate Client */
+ f_esipa_send(valueof(ts_authenticateClientRequestEsipa));
+ f_es9p_receive(tr_authenticateClientRequest);
+ f_es9p_send(valueof(ts_authenticateClientResponseEs9));
+ f_esipa_receive(tr_authenticateClientResponseEsipa_dpe);
+
+ /* Step IC4: Get Bound Profiele Package*/
+ f_esipa_send(valueof(ts_getBoundProfilePackageRequestEsipa));
+ f_es9p_transceive(valueof(ts_getBoundProfilePackageResponse), tr_getBoundProfilePackageRequest);
+ f_esipa_receive(tr_getBoundProfilePackageResponseEsipa);
+
+ /* Step 1/2a: Handle notification (Profile Installation Result)
+ * When the Notification arrives at the eIM, the eIM will record the Profile Installation Result from the
+ * notification and mark the download as done. */
+ f_esipa_send(valueof(ts_handleNotificationEsipa_pendingNotif(
+ ts_SGP32_pendingNotification_prfleInstRslt(prfleInstRslt_esipa))));
+ f_es9p_transceive_empty_response(tr_handleNotification(
+ tr_pendingNotification_prfleInstRslt(prfleInstRslt_es9p)));
+
+ /* Step 1/2b: Check REST API result (outcome), then remove order from REST API */
+ f_rest_lookup_resource(resource_id, "download", tr_JSON_REST_success(outcome := expected_outcome));
+ f_rest_delete_resource(resource_id, "download");
+}
+
+/* See SGP.33-3, section 4.2.13.2.1, Test Sequence #01 and SGP.23, section 4.4.24.2.1, Test Sequence #01 */
+private function f_TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Install_Notifications(charstring id)
+runs on eIM_ConnHdlr {
+ var template OtherSignedNotification otherSignedNotif_esipa;
+ var template OtherSignedNotification otherSignedNotif_es9p;
+ var template SGP32_ProfileInstallationResult prfleInstRslt_esipa;
+ var template ProfileInstallationResult prfleInstRslt_es9p;
+ var template JSON_REST_Results expected_outcome;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+
+ /* Step 1-2 */
+ prfleInstRslt_esipa := ts_SGP32_profileInstallationResult(
+ profileInstallationResultData :=
+ ts_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ prfleInstRslt_es9p := tr_profileInstallationResult(
+ profileInstallationResultData :=
+ tr_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ expected_outcome := {{profileInstallationResult := {iccid := oct2str(SGP23_ICCID_OP_PROF1),
+ aid := oct2str(SGP23_SSD_AID),
+ simaResponse := oct2str(SGP23_SIMA_RESULT_OK)}}};
+ f_TC_eIM_ES9p_HandleNotification_Nominal_PIR(prfleInstRslt_esipa, prfleInstRslt_es9p, expected_outcome);
+
+ /* Step 3/4: Handle notification (Other Signed Notification) */
+ otherSignedNotif_esipa := ts_otherSignedNotification(
+ tbsOtherNotification := ts_notificationMetadata(
+ seqNumber := 123456,
+ profileManagementOperation := '1'B, /* notificationInstall */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ otherSignedNotif_es9p := tr_otherSignedNotification(
+ tbsOtherNotification := tr_notificationMetadata(
+ seqNumber := 123456,
+ profileManagementOperation := '1'B, /* notificationInstall */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ f_TC_eIM_ES9p_HandleNotification_Pass_Notifications(otherSignedNotif_esipa, otherSignedNotif_es9p);
+
+ f_sleep(2.0);
+}
+testcase TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Install_Notifications() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Install_Notifications), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.13.2.1, Test Sequence #02 and SGP.23, section 4.4.24.2.1, Test Sequence #02 */
+private function f_TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Enable_Notifications(charstring id)
+runs on eIM_ConnHdlr {
+ var template OtherSignedNotification otherSignedNotif_esipa;
+ var template OtherSignedNotification otherSignedNotif_es9p;
+ var template SGP32_ProfileInstallationResult prfleInstRslt_esipa;
+ var template ProfileInstallationResult prfleInstRslt_es9p;
+ var template JSON_REST_Results expected_outcome;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+
+ /* Step 1-2 */
+ prfleInstRslt_esipa := ts_SGP32_profileInstallationResult(
+ profileInstallationResultData :=
+ ts_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ prfleInstRslt_es9p := tr_profileInstallationResult(
+ profileInstallationResultData :=
+ tr_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ expected_outcome := {{profileInstallationResult := {iccid := oct2str(SGP23_ICCID_OP_PROF1),
+ aid := oct2str(SGP23_SSD_AID),
+ simaResponse := oct2str(SGP23_SIMA_RESULT_OK)}}};
+ f_TC_eIM_ES9p_HandleNotification_Nominal_PIR(prfleInstRslt_esipa, prfleInstRslt_es9p, expected_outcome);
+
+ /* Step 4: Handle notification (Other Signed Notification) */
+ otherSignedNotif_esipa := ts_otherSignedNotification(
+ tbsOtherNotification := ts_notificationMetadata(
+ seqNumber := 789,
+ profileManagementOperation := '01'B, /* notificationEnable */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+
+ otherSignedNotif_es9p := tr_otherSignedNotification(
+ tbsOtherNotification := tr_notificationMetadata(
+ seqNumber := 789,
+ profileManagementOperation := '01'B, /* notificationEnable */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ f_TC_eIM_ES9p_HandleNotification_Pass_Notifications(otherSignedNotif_esipa, otherSignedNotif_es9p);
+
+ f_sleep(2.0);
+}
+testcase TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Enable_Notifications() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Enable_Notifications), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.13.2.1, Test Sequence #03 and SGP.23, section 4.4.24.2.1, Test Sequence #03 */
+private function f_TC_eIM_ES9p_HandleNotification_Nominal_Disable_and_Delete_Notifications(charstring id)
+runs on eIM_ConnHdlr {
+ var template OtherSignedNotification otherSignedNotif_esipa;
+ var template OtherSignedNotification otherSignedNotif_es9p;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+
+ /* Pass first Notification: Disable profile */
+ otherSignedNotif_esipa := ts_otherSignedNotification(
+ tbsOtherNotification := ts_notificationMetadata(
+ seqNumber := 7890,
+ profileManagementOperation := '001'B, /* notificationDisable */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+
+ otherSignedNotif_es9p := tr_otherSignedNotification(
+ tbsOtherNotification := tr_notificationMetadata(
+ seqNumber := 7890,
+ profileManagementOperation := '001'B, /* notificationDisable*/
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ f_TC_eIM_ES9p_HandleNotification_Pass_Notifications(otherSignedNotif_esipa, otherSignedNotif_es9p);
+
+ /* Pass second Notification: Delete profile */
+ otherSignedNotif_esipa := ts_otherSignedNotification(
+ tbsOtherNotification := ts_notificationMetadata(
+ seqNumber := 7890,
+ profileManagementOperation := '0001'B, /* notificationDelete */
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ otherSignedNotif_es9p := tr_otherSignedNotification(
+ tbsOtherNotification := tr_notificationMetadata(
+ seqNumber := 7890,
+ profileManagementOperation := '0001'B, /* notificationDelete*/
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1),
+ euiccNotificationSignature := SGP23_TBS_EUICC_NOTIF_SIG);
+ f_TC_eIM_ES9p_HandleNotification_Pass_Notifications(otherSignedNotif_esipa, otherSignedNotif_es9p);
+
+ f_sleep(2.0);
+}
+testcase TC_eIM_ES9p_HandleNotification_Nominal_Disable_and_Delete_Notifications() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_HandleNotification_Nominal_Disable_and_Delete_Notifications), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.13.2.1, Test Sequence #06 and SGP.23, section 4.4.24.2.1, Test Sequence #06 */
+private function f_TC_eIM_ES9p_HandleNotification_Nominal_Profile_Download_with_PIR_Failed(charstring id)
+runs on eIM_ConnHdlr {
+ var template OtherSignedNotification otherSignedNotif_esipa;
+ var template OtherSignedNotification otherSignedNotif_es9p;
+ var template SGP32_ProfileInstallationResult prfleInstRslt_esipa;
+ var template ProfileInstallationResult prfleInstRslt_es9p;
+ var template JSON_REST_Results expected_outcome;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+
+ /* Step 1-2 */
+ prfleInstRslt_esipa := ts_SGP32_profileInstallationResult(
+ profileInstallationResultData :=
+ ts_profileInstallationResultData_err(
+ notificationAddress := smdpp_addr),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ prfleInstRslt_es9p := tr_profileInstallationResult(
+ profileInstallationResultData :=
+ tr_profileInstallationResultData_err(
+ notificationAddress := smdpp_addr,
+ bppCommandId := 5, /* loadProfileElements */
+ errorReason := 1, /* incorrectInputValues */
+ simaResponse := omit),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ expected_outcome := {{profileInstallationError := {bppCommandId := "loadProfileElements",
+ errorReason := "incorrectInputValues",
+ simaResponse := ""}}};
+ f_TC_eIM_ES9p_HandleNotification_Nominal_PIR(prfleInstRslt_esipa, prfleInstRslt_es9p, expected_outcome);
+
+ f_sleep(2.0);
+}
+testcase TC_eIM_ES9p_HandleNotification_Nominal_Profile_Download_with_PIR_Failed() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_HandleNotification_Nominal_Profile_Download_with_PIR_Failed), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.13.2.1, Test Sequence #08 and SGP.23, section 4.4.24.2.1, Test Sequence #08 */
+private function f_TC_eIM_ES9p_No_Acknowledge_for_Successful_PIR_results_in_No_Further_Notifications(charstring id)
+runs on eIM_ConnHdlr {
+ var template OtherSignedNotification otherSignedNotif_esipa;
+ var template OtherSignedNotification otherSignedNotif_es9p;
+ var template SGP32_ProfileInstallationResult prfleInstRslt_esipa;
+ var template ProfileInstallationResult prfleInstRslt_es9p;
+ var template JSON_REST_Results expected_outcome;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+
+ /* Step 1-2 */
+ prfleInstRslt_esipa := ts_SGP32_profileInstallationResult(
+ profileInstallationResultData :=
+ ts_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ prfleInstRslt_es9p := tr_profileInstallationResult(
+ profileInstallationResultData :=
+ tr_profileInstallationResultData(
+ notificationAddress := smdpp_addr,
+ iccid := SGP23_ICCID_OP_PROF1,
+ aid := SGP23_SSD_AID,
+ simaResponse := SGP23_SIMA_RESULT_OK),
+ euiccSignPIR := SGP23_EUICC_SIGN_PIR);
+ expected_outcome := {{profileInstallationResult := {iccid := oct2str(SGP23_ICCID_OP_PROF1),
+ aid := oct2str(SGP23_SSD_AID),
+ simaResponse := oct2str(SGP23_SIMA_RESULT_OK)}}};
+
+
+ f_TC_eIM_ES9p_HandleNotification_Nominal_PIR(prfleInstRslt_esipa, prfleInstRslt_es9p, expected_outcome);
+
+ f_sleep(2.0);
+}
+testcase TC_eIM_ES9p_No_Acknowledge_for_Successful_PIR_results_in_No_Further_Notifications() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_No_Acknowledge_for_Successful_PIR_results_in_No_Further_Notifications), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
+/* See SGP.33-3, section 4.2.14.2.1, Test Sequence #01 and SGP.23, section 4.4.25.2.1, Test Sequence #01 */
+private function f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed(
+ charstring id,
+ template SGP32_CancelSessionResponse cancelSessionResponse_esipa,
+ template CancelSessionResponse cancelSessionResponse_es9p,
+ template JSON_REST_Results expected_outcome := ?,
+ boolean cancel_after_bpp_download)
+runs on eIM_ConnHdlr {
+ var charstring resource_id;
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eim_transaction_id;
+ var charstring smdpp_addr := mp_es9p_ip & ":" & int2str(mp_es9p_port)
+ var charstring activation_code := f_SGP23_ACTIVATION_CODE_1(test_dp_address := smdpp_addr);
+
+ /* Create a new download at the eIM */
+ resource_id := f_rest_create_order("download", ts_JSON_REST_download_order(SGP23_EID1, activation_code));
+
+ /* Check the eIM for new eIM packages, we expect to get a profileDownloadTriggerRequest that contains the
+ * activationCode that we have created the download with (see above) */
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(SGP23_EID1)),
+ tr_getEimPackageResponse_dnlTrigReq(
+ tr_profileDownloadTriggerRequest(activation_code)));
+ eim_transaction_id := valueof(esipa_res.getEimPackageResponse.profileDownloadTriggerRequest.eimTransactionId);
+
+ /* Step IC1/IC2: Initiate Authentication */
+ f_esipa_send(valueof(ts_initiateAuthenticationRequestEsipa(smdpAddress := smdpp_addr,
+ eimTransactionId := eim_transaction_id)));
+ f_es9p_receive(tr_initiateAuthenticationRequest);
+ f_es9p_send(valueof(ts_initiateAuthenticationResponse));
+ f_esipa_receive(tr_initiateAuthenticationResponseEsipa);
+
+ /* Step IC3: Authenticate Client */
+ f_esipa_send(valueof(ts_authenticateClientRequestEsipa));
+ f_es9p_receive(tr_authenticateClientRequest);
+ f_es9p_send(valueof(ts_authenticateClientResponseEs9));
+ f_esipa_receive(tr_authenticateClientResponseEsipa_dpe);
+
+ /* Step IC4: Get Bound Profiele Package
+ * (The testcase describe two possible variantes: The CancelSessionRequest may either occur before or
+ * after the GetBoundProfilePackageRequest. This testcase implementation can test both variants.) */
+ if (cancel_after_bpp_download == true) {
+ f_esipa_send(valueof(ts_getBoundProfilePackageRequestEsipa));
+ f_es9p_transceive(valueof(ts_getBoundProfilePackageResponse), tr_getBoundProfilePackageRequest);
+ f_esipa_receive(tr_getBoundProfilePackageResponseEsipa);
+ }
+
+ /* Step 1a: Cancel session */
+ f_esipa_send(valueof(ts_cancelSessionRequestEsipa(cancelSessionResponse := cancelSessionResponse_esipa)));
+ f_es9p_transceive_empty_response(tr_cancelSessionRequestEs9(cancelSessionResponse := cancelSessionResponse_es9p));
+
+ /* Step 1b: Verify REST-API result, remove rest resource */
+ f_rest_lookup_resource(resource_id, "download", tr_JSON_REST_success(outcome := expected_outcome));
+ f_rest_delete_resource(resource_id, "download");
+
+ f_sleep(2.0);
+}
+private function f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_after_bpp(charstring id)
+runs on eIM_ConnHdlr {
+ var template SGP32_CancelSessionResponse cancelSessionResponse_esipa;
+ var template CancelSessionResponse cancelSessionResponse_es9p;
+ var template JSON_REST_Results expected_outcome;
+
+ cancelSessionResponse_esipa :=
+ ts_SGP32_cancelSessionResponse(
+ cancelSessionResponseOk :=
+ ts_cancelSessionResponseOk(
+ reason := 3, /* pprNotAllowed */
+ euiccCancelSessionSignature := SGP23_EUICC_CANCEL_SESSION_SIGNATURE));
+ cancelSessionResponse_es9p :=
+ tr_cancelSessionResponse(
+ cancelSessionResponseOk :=
+ tr_cancelSessionResponseOk(
+ reason := 3, /* pprNotAllowed */
+ euiccCancelSessionSignature := SGP23_EUICC_CANCEL_SESSION_SIGNATURE));
+ expected_outcome := {{cancelSessionReason := "pprNotAllowed"}};
+
+ f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed(
+ id, cancelSessionResponse_esipa, cancelSessionResponse_es9p, expected_outcome, true);
+}
+testcase TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_after_bpp() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_after_bpp), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+private function f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_before_bpp(charstring id)
+runs on eIM_ConnHdlr {
+ var template SGP32_CancelSessionResponse cancelSessionResponse_esipa;
+ var template CancelSessionResponse cancelSessionResponse_es9p;
+ var template JSON_REST_Results expected_outcome;
+
+ cancelSessionResponse_esipa :=
+ ts_SGP32_cancelSessionResponse(
+ cancelSessionResponseOk :=
+ ts_cancelSessionResponseOk(
+ reason := 3, /* pprNotAllowed */
+ euiccCancelSessionSignature := SGP23_EUICC_CANCEL_SESSION_SIGNATURE));
+ cancelSessionResponse_es9p :=
+ tr_cancelSessionResponse(
+ cancelSessionResponseOk :=
+ tr_cancelSessionResponseOk(
+ reason := 3, /* pprNotAllowed */
+ euiccCancelSessionSignature := SGP23_EUICC_CANCEL_SESSION_SIGNATURE));
+ expected_outcome := {{cancelSessionReason := "pprNotAllowed"}};
+
+ f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed(
+ id, cancelSessionResponse_esipa, cancelSessionResponse_es9p, expected_outcome, false);
+}
+testcase TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_before_bpp() runs on MTC_CT {
+ var charstring id := testcasename();
+ var eIM_ConnHdlrPars pars := f_init_pars();
+ var eIM_ConnHdlr vc_conn;
+ f_init(id);
+ vc_conn := f_start_handler(refers(
+ f_TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_before_bpp), pars);
+ vc_conn.done;
+ setverdict(pass);
+}
+
control {
+ /* Custom testcases:
+ * The following testcases are custom testcases, which do not follow any official test specification. The
+ * testcases are set up to verify the basic functionality of the eIM. */
execute ( TC_proc_indirect_prfle_dwnld() );
execute ( TC_proc_indirect_prfle_dwnld_cancel_session() );
execute ( TC_proc_euicc_pkg_dwnld_exec_enable_psmo() );
@@ -1032,6 +1736,23 @@
execute ( TC_proc_euicc_data_req() );
execute ( TC_proc_euicc_data_req_err() );
execute ( TC_proc_notifyStateChange() );
+
+ /* SGP.33-3 testcases:
+ * Those test cases were originally designed as an end-to-end test for testing the full chain (SM-DP+, eIM,
+ * IPAd, eUICC). However, this testsuite tests the eIM in isolation, which means that the IPAd/eUICC part is
+ * also simulated by this testsuite. In this testsuite we only implement a small (useful) subset of the test
+ * specification. We may also apply simplifications to test vectors in case those have no significant impact
+ * on the test coverage. */
+ execute ( TC_eIM_AuthenticateClient_Nominal_without_Confirmation_Code() );
+ execute ( TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_EUM_Certificate() );
+ execute ( TC_eIM_AuthenticateClient_ErrorCases_Error_Invalid_SM_DPp_pb_certificate() );
+ execute ( TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Install_Notifications() );
+ execute ( TC_eIM_ES9p_HandleNotification_Nominal_Successful_PIR_and_Enable_Notifications() );
+ execute ( TC_eIM_ES9p_HandleNotification_Nominal_Disable_and_Delete_Notifications() );
+ execute ( TC_eIM_ES9p_HandleNotification_Nominal_Profile_Download_with_PIR_Failed() );
+ execute ( TC_eIM_ES9p_No_Acknowledge_for_Successful_PIR_results_in_No_Further_Notifications() );
+ execute ( TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_after_bpp() );
+ execute ( TC_eIM_ES9p_CancelSession_Nominal_Profile_Download_with_PPR1_not_allowed_before_bpp() );
}
}
diff --git a/eim/prepare.sh b/eim/prepare.sh
index abaff47..2bf2893 100755
--- a/eim/prepare.sh
+++ b/eim/prepare.sh
@@ -9,3 +9,12 @@
-i \
"s,^eIM_Tests\.mp_restop_path := .*,eIM_Tests.mp_restop_path := \"$RESTOP\"," \
$TESTSUITE_CONFIG
+
+# Reconfigure eIM REST timeout (sys.config, rest_timeout_stuck) to a value
+# suitable for this testsuite.
+SYS_CONFIG="$TESTENV_INSTALL_DIR"/etc/osmocom/onomondo-eim.config
+cat $SYS_CONFIG
+sed \
+ -i \
+ "s/\(^[[:space:]]*{rest_timeout_stuck,[[:space:]]\)[0-9]*/\115/g" \
+ $SYS_CONFIG
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43904?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ide8fdec56eca4d4577baedfacd2a6a675d9c0e6e
Gerrit-Change-Number: 43904
Gerrit-PatchSet: 13
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1
0
[L] Change in osmo-ttcn3-hacks[master]: eIM_Tests: add a subset of SGP.33-3/SGP.23 testcases
by laforge 18 Nov '26
by laforge 18 Nov '26
18 Nov '26
Attention is currently required from: dexter, jolly, pespin.
laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43904?usp=email )
Change subject: eIM_Tests: add a subset of SGP.33-3/SGP.23 testcases
......................................................................
Patch Set 12: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43904?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ide8fdec56eca4d4577baedfacd2a6a675d9c0e6e
Gerrit-Change-Number: 43904
Gerrit-PatchSet: 12
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Wed, 18 Nov 2026 18:05:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
1
0