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

jeffshantz / hyperkit / 38 / 4
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v1.0.1
DEFAULT BRANCH: master
Ran 28 Jan 2019 03:13AM UTC
Files 24
Run time 1s
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

28 Jan 2019 03:11AM UTC coverage: 99.098%. Remained the same
2.0

Pull #15

travis-ci

web-flow
Let OpenSSL::PKey detect client key format automatically

Recent versions of LXD generate ECDSA keys rather than RSA keys for
client authentication, so using the `RSA` subclass of `OpenSSL::PKey` to
open them fails with the following error:

  Neither PUB key nor PRIV key: nested asn1 error (OpenSSL::PKey::RSAError)

Ruby's OpenSSL library provides a way to open any of the supported key
types, including both RSA and ECDSA, using `OpenSSL::PKey.read` [1],
which will automatically detect the format and return the subclass for
that type of key. So, in order to support both key types, we can just
use that method instead of `OpenSSL::PKey::RSA.new`.

[1]: https://ruby-doc.org/stdlib-2.6/libdoc/openssl/rdoc/OpenSSL/PKey.html#method-c-read
Pull Request #15: Let OpenSSL::PKey detect client key format automatically

2746 of 2771 relevant lines covered (99.1%)

83.96 hits per line

Source Files on job 38.4 (2.0)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 34
  • Travis Job 38.4
  • be08012a on github
  • Prev Job for 2.0 on fix-openssl-privkey-error (#36.4)
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