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

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

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2018 09:47AM UTC
Files 13
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

18 Jan 2018 09:43AM UTC coverage: 85.854% (-0.2%) from 86.018%
62.1

push

travis-ci

LudovicRousseau
genkeypair_import_cert: use tuple for the key id

Use a tuple (0x01,) instead of a string '\x01' so that the convertion to
a low level format works.

With Python 3 we had the error:
Traceback (most recent call last):
  File "genkeypair_import_cert.py", line 70, in <module>
    session.generateKeyPair(public_template, private_template)
  File "/usr/lib/python3/dist-packages/PyKCS11/__init__.py", line 1328, in generateKeyPair
    tPub = self._template2ckattrlist(templatePub)
  File "/usr/lib/python3/dist-packages/PyKCS11/__init__.py", line 1296, in _template2ckattrlist
    t[x].SetBin(attr[0], attrBin)
  File "/usr/lib/python3/dist-packages/PyKCS11/LowLevel.py", line 1969, in SetBin
    return _LowLevel.CK_ATTRIBUTE_SMART_SetBin(self, attrType, pBuf)
TypeError: in method 'CK_ATTRIBUTE_SMART_SetBin', argument 3 of type 'std::vector< unsigned char > const &'

2100 of 2446 relevant lines covered (85.85%)

0.86 hits per line

Source Files on job 62.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 62
  • Travis Job 62.1
  • c7b3c33c on github
  • Prev Job for on master (#61.2)
  • Next Job for on master (#68.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