Skip to content
Success

#28131 (Apr 23, 2026, 10:23:20 PM)

Started 11 hr ago
Took 2.4 sec on build4-deb12build-ansible

Started by upstream project gerrit-pysim build number 3090
originally caused by:

This run spent:

  • 1 min 41 sec waiting;
  • 2.4 sec build duration;
  • 1 min 44 sec total from scheduled to completion.
Revision: 4b5b2bf311169f2ea1292f432d9bc081babb2bf2
Repository: $GERRIT_REPO_URL
  • master
personalization: fix SdKey.apply_val() implementation

'securityDomain' elements are decoded to ProfileElementSD instances,
which keep higher level representations of the key data apart from the
decoded[] lists.

So far, apply_val() was dropping binary values in decoded[], which does
not work, because ProfileElementSD._pre_encode() overwrites
self.decoded[] from the higher level representation.

Implement using
- ProfileElementSD.find_key() and SecurityDomainKeyComponent to modify
  an exsiting entry, or
- ProfileElementSD.add_key() to create a new entry.

Before this patch, SdKey parameters seemed to patch PES successfully,
but their modifications did not end up in the encoded DER.

(BTW, this does not fix any other errors that may still be present in
the various SdKey subclasses, patches coming up.)

Related: SYS#6768
Change-Id: I07dfc378705eba1318e9e8652796cbde106c6a52
Jenkins: skip-card-test
Vadim Yanitskiy at