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

LudovicRousseau / PyKCS11 / 12965932525
94%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2025 02:52PM UTC
Jobs 1
Files 21
Run time 3min
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

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.

0 of 7 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2993 of 3457 relevant lines covered (86.58%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.5
-0.1% PyKCS11/__init__.py
5
56.25
-1.2% test/test_derive.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
56.25
-1.2% test/test_derive.py
Jobs
ID Job ID Ran Files Coverage
1 12965932525.1 25 Jan 2025 02:52PM UTC 21
86.58
Source Files on build 12965932525
  • Tree
  • List 21
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7083cd10 on github
  • Prev Build on master (#12855273166)
  • Next Build on master (#13137842103)
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