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

LudovicRousseau / PyKCS11 / 62
94%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2018 09:47AM UTC
Jobs 2
Files 13
Run time 37s
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

pending completion
62

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 &'

2106 of 2446 relevant lines covered (86.1%)

1.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 62.1 18 Jan 2018 09:47AM UTC 0
85.85
Travis Job 62.1
2 62.2 18 Jan 2018 09:47AM UTC 0
86.02
Travis Job 62.2
Source Files on build 62
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #62
  • c7b3c33c on github
  • Prev Build on master (#61)
  • Next Build on master (#68)
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