• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LudovicRousseau / PyKCS11 / 12965932525 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2025 02:52PM UTC
Files 21
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jan 2025 02:47PM UTC coverage: 86.578% (-0.1%) from 86.678%
12965932525.1

push

github

LudovicRousseau
bugfix: store CKM_CONCATENATE_BASE_AND_KEY parameter in mechanism context

It's needed to be sure that encKey will not be destroyed by the garbage
collector while the mechanism object is still in use. I guess this is
necessary because the assignment:

self._mech.pParameter = self._encKey

internally copies only a pointer to self._encKey, which would get
invalidated if one destroys self._encKey and that's why it should be
attached to self. It wasn't obvious for me either, but this is how it
works (I guess). The other mechanisms do pretty much the same thing --
i.e. they store the parameter in self._param usually.

Note:
.pParameter is just a property of a CK_MECHANISM() object.

2993 of 3457 relevant lines covered (86.58%)

0.87 hits per line

Source Files on job 12965932525.1
  • Tree
  • List 21
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12965932525
  • 7083cd10 on github
  • Prev Job for on master (#12855273166.1)
  • Next Job for on master (#13137842103.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc