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

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

Build:
Build:
LAST BUILD BRANCH: release/0.15.0
DEFAULT BRANCH: master
Ran 23 Apr 2020 04:19PM UTC
Jobs 1
Files 73
Run time 8s
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

23 Apr 2020 03:56PM UTC coverage: 87.707%. Remained the same
#7594

push

travis-ci

web-flow
Update GoThemis Secure Cell API (#624)

* New API: Seal mode

Introduce new Secure Cell API for Seal mode. The goal of these changes
is to get rid of run-time mode-setting and update the API to be more
convenient to use.

Secure Cell mode is usually picked statically as each mode has its own
peculiarity. Furthermore, passphrase API requires a new initialization
interface. For this reason we introduce new construction API for
Secure Cell.

New Secure Cell types also have updated method names: Encrypt and
Decrypt, which is more consistent with documentation, common practice,
and other Themis wrappers.

New methods do not return or accept authentication token argument. This
requirement stemmed from run-time mode-setting and was needed to support
Token Protect mode. Now Token Protect mode is implemented by a separate
type so Seal mode does not need otherwise useless arguments.

The associated context is often omitted so this use case is made more
readable. Instead of explicitly setting it to nil the users now can
simply omit it.

The implementation is simplified in comparison with the old one. Now we
reduce CGo usage to bare minimum, preferring Go code instead.

Finally, the test suite of Seal mode is greatly expanded, reusing test
cases added for ObjCThemis.

* New API: Token Protect mode

In a similar spirit, Token Protect mode gains new construction API,
renamed methods, and updated test suite.

Note that Token Protect mode handles authentication token separately.

* New API: Context Imprint mode

Similarly, Context Imprint mode gets a new API too. It is different in
that the assoicated context is a required argument for this mode, so
there is no option to omit it.

* Add copyrights and package descriptions

Update top-level package descriptions and other API documentation so
that our package looks nicer in the browser.

Add missing copyright information which ought to be there since GoThemis
is distribu... (continued)

3767 of 4295 relevant lines covered (87.71%)

19336.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #7594.1 23 Apr 2020 04:19PM UTC 0
87.71
Source Files on build #7594
Detailed source file information is not available for this build.
  • Back to Repo
  • 03bee428 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