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

jeffshantz / hyperkit / 38
99%
master: 99%

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

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

1 of 1 new or added line in 1 file covered. (100.0%)

2746 of 2771 relevant lines covered (99.1%)

251.88 hits per line

Jobs
ID Job ID Ran Files Coverage
4 38.4 (2.0) 28 Jan 2019 03:13AM CUT 0
99.1
Travis Job 38.4
5 38.5 (2.1) 28 Jan 2019 03:13AM CUT 0
99.1
Travis Job 38.5
6 38.6 (2.2) 28 Jan 2019 03:15AM CUT 0
99.1
Travis Job 38.6
Source Files on build 38
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #38
  • Pull Request #15
  • PR Base - master (#36)
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

© 2025 Coveralls, Inc