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

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

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

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

Source Files on job #7611.1
  • Tree
  • List 0
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7611
  • 44e4763c on github
  • Prev Job for on HEAD (##7610.1)
  • Next Job for on HEAD (##7612.1)
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