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

cossacklabs / themis / #7611
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: release/0.15.0
DEFAULT BRANCH: master
Ran 04 May 2020 05:33PM UTC
Jobs 1
Files 73
Run time 20s
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

04 May 2020 05:07PM UTC coverage: 87.776% (+0.07%) from 87.707%
#7611

push

travis-ci

web-flow
Secure Cell passphrase API: RustThemis (#630)

* Add passphrase API of Secure Cell

Introduce new constructor "SecureCell::with_passphrase" which accepts
textual passphrases and returns a Secure Cell that handles them.

Currently only Seal mode supports passphrases so that's the only mode
that users are allowed to select.

The passphrase is accepted as AsRef<[u8]> to transparently allow use of
raw byte slices and other types, not limiting to AsRef<str> which could
be more appropriate (and more restrictive).

This commit does not update existing master key API for correct use of
symmetric keys and does not update API documentation as well. This will
be done separately.

* Integration test tool for passphrase API

Add "scell_seal_string_echo_pw" tool for Rust. Note that we need to add
it as a new binary in test tool crate. Testing infrastructure will build
and use it automatically based on the source file name.

* Simplify code sample for Secure Cell

Update the code sample like in other languages. Instead of a simple file
encryption tool (which is not a generally good use case for Secure Cell)
provide a showcase of Secure Cell APIs and how they impact the output.

3770 of 4295 relevant lines covered (87.78%)

19329.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #7611.1 04 May 2020 05:33PM UTC 0
87.78
Source Files on build #7611
Detailed source file information is not available for this build.
  • Back to Repo
  • 44e4763c on github
  • Prev Build on HEAD
  • Next Build on HEAD
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