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

tarantool / go-tarantool / 5727365246
79%
master: 75%

Build:
Build:
LAST BUILD BRANCH: laines-it/gh-511-fix-tests-Grant-Revoke-WithoutSu
DEFAULT BRANCH: master
Ran 01 Aug 2023 01:32PM UTC
Jobs 2
Files 53
Run time 3s
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

01 Aug 2023 01:23PM UTC coverage: 79.391% (+0.08%) from 79.316%
5727365246

push

github

DifferentialOrange
api: support SSL private key file decryption

Support `ssl_password` and `ssl_password_file` options in SslOpts.
Tarantool EE supports SSL passwords and password files since 2.11.0 [1].
Since it is possible to use corresponding non-encrypted key, cert and CA
on server, tests works fine even for Tarantool EE 2.10.0.

Same as in Tarantool, we try `SslOpts.Password`, then each line in
`SslOpts.PasswordFile`. If all of the above fail, we re-raise errors.

If the key is encrypted and password is not provided,
`openssl.LoadPrivateKeyFromPEM(keyBytes)` asks to enter PEM pass phrase
interactively. On the other hand,
`openssl.LoadPrivateKeyFromPEMWithPassword(keyBytes, password)` works
fine for non-encrypted key with any password, including empty string.
If the key is encrypted, we fast fail with password error instead of
requesting the pass phrase interactively.

The patch also bumps go-openssl since latest patch fixes flaky
tests [2].

The patch is based on a similar patch for tarantool-python [3].

1. https://github.com/tarantool/tarantool-ee/issues/22
2. https://github.com/tarantool/go-openssl/pull/9
3. https://github.com/tarantool/tarantool-python/pull/274

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

5343 of 6730 relevant lines covered (79.39%)

7898.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
89.08
0.0% ssl.go

Uncovered Existing Lines

Lines Coverage ∆ File
6
89.08
0.0% ssl.go
172
76.6
0.29% connection.go
Jobs
ID Job ID Ran Files Coverage
1 5727365246.1 01 Aug 2023 01:32PM UTC 53
79.36
GitHub Action Run
2 5727365246.2 01 Aug 2023 01:46PM UTC 53
79.2
GitHub Action Run
Source Files on build 5727365246
  • Tree
  • List 53
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0d06b1ca on github
  • Prev Build on DifferentialOrange/ssl-key-decryption (#5727326968)
  • Next Build on DifferentialOrange/ssl-key-decryption (#5748389687)
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