Skip to content
Success

#28213 (Apr 24, 2026, 10:19:50 PM)

Started 16 hr ago
Took 3.9 sec on build4-deb12build-ansible

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

This run spent:

  • 1 min 49 sec waiting;
  • 3.9 sec build duration;
  • 1 min 53 sec total from scheduled to completion.
Revision: cd4b01f67e47040e5ed216201b08f0fa39b668c4
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