1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
A modern, portable, easy to use crypto library.
Go to file
Frank Denis bfeca0eb73 Implement key shielding to protect against side channels
We may want to fold this into `sodium_mprotect_*()` instead of
exposing these functions.

The drawback is that a transition from PROT_NONE to PROT_READ
(or the other way round) would need an intermediary state in PROT_WRITE
for shielding/unshielding.

Shielding is also not thread-safe, while the `mprotect_*()` functions
are, and adding locks would make things more complicated than they
probably should.
2019-06-22 14:56:16 +02:00
.github Fix URL 2019-06-02 15:45:20 +02:00
builds Try to rename internal symbols that were visible in static libraries 2019-06-10 23:08:21 +02:00
contrib Fix Findsodium.cmake SODIUM_VERSION_STRING regex 2019-06-01 10:31:44 +02:00
dist-build Use the same memory limit everywhere 2019-05-21 11:12:07 +02:00
m4 Revert "Drastically improve the password hashing functions" 2019-04-02 01:34:26 +02:00
msvc-scripts Bump 2019-05-30 15:52:09 +02:00
packaging Bump 2019-05-30 15:52:09 +02:00
regen-msvc Move regen-msvc back to place 2019-06-10 22:35:19 +02:00
src Implement key shielding to protect against side channels 2019-06-22 14:56:16 +02:00
test Implement key shielding to protect against side channels 2019-06-22 14:56:16 +02:00
.gitignore Try to rename internal symbols that were visible in static libraries 2019-06-10 23:08:21 +02:00
.travis.yml Try to rename internal symbols that were visible in static libraries 2019-06-10 23:08:21 +02:00
appveyor.yml Indent Appveyor rules 2019-05-28 20:59:44 +02:00
AUTHORS Initial support for ristretto255 2019-02-18 00:56:48 +01:00
autogen.sh autogen.sh: make config.guess update optional 2019-05-16 23:38:48 +02:00
azure-pipelines.yml Use Azure Pipelines to produce WASI binaries 2019-05-30 13:23:53 +02:00
ChangeLog ChangeLog nits 2019-05-31 00:44:08 +02:00
configure.ac Revert "Disable getentropy() on Apple devices" 2019-06-02 20:39:01 +02:00
lgtm.yml + lgtm.yml 2018-03-27 14:43:23 +02:00
libsodium-uninstalled.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-14 23:43:02 +01:00
libsodium.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-14 23:43:02 +01:00
libsodium.sln Retarget the top solution to Visual Studio 2015 2015-11-01 08:29:49 -08:00
libsodium.vcxproj Try to rename internal symbols that were visible in static libraries 2019-06-10 23:08:21 +02:00
libsodium.vcxproj.filters Try to rename internal symbols that were visible in static libraries 2019-06-10 23:08:21 +02:00
LICENSE 2019 2018-12-31 08:51:40 +01:00
logo.png Recompress logo 2019-04-15 10:33:12 +02:00
Makefile.am Add all the Visual Studio files in the tarball 2017-07-24 14:27:33 +02:00
README.markdown Update status badge 2019-05-29 20:54:51 +02:00
THANKS + Alexander Ilin for Factor bindings 2018-12-25 10:25:23 +01:00

Build Status Windows build status Coverity Scan Build Status Azure build status

libsodium

Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more.

It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further.

Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.

Sodium supports a variety of compilers and operating systems, including Windows (with MingW or Visual Studio, x86 and x64), iOS, Android, as well as Javascript and Webassembly.

Documentation

The documentation is available on Gitbook and built from the libsodium-doc repository:

Integrity Checking

The integrity checking instructions (including the signing key for libsodium) are available in the installation section of the documentation.

Community

A mailing-list is available to discuss libsodium.

In order to join, just send a random mail to sodium-subscribe {at} pureftpd {dot} org.

License

ISC license.