Giter Site home page Giter Site logo

sandbox-quantum / sandwich Goto Github PK

View Code? Open in Web Editor NEW
92.0 14.0 7.0 4.92 MB

Sandwich is a multi-platform, multi-language, open-source library that provides a simple unified API for developers to use (multiple) cryptographic libraries in their applications.

Home Page: https://sandbox-quantum.github.io/sandwich/

License: GNU Affero General Public License v3.0

Starlark 13.21% C++ 5.36% C 2.02% Go 6.12% Python 6.37% Rust 66.92%
api boringssl crypto cryptography go openssl python rust security tls

sandwich's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sandwich's Issues

Is there any specific code example?

Is there any specific code example to tell me how to choose an algorithm, create a pub/pri key, and implement the encryption or signature function?

Build for C API fails on Ubuntu 22.04.3 LTS

Description

I am trying to build the library using the instructions here but I seem to get the following error:

INFO: Analyzed target //:export (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/alex/.cache/bazel/_bazel_alex/dffc9a5f3a5f7240922e017d89949fe5/external/bartleby-llvm-project/llvm/BUILD.bazel:136:11: Compiling llvm/lib/Demangle/DLangDemangle.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @bartleby-llvm-project//llvm:Demangle) /usr/lib/llvm-13/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 68 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/bartleby-llvm-project/llvm/lib/Demangle/DLangDemangle.cpp:16:
external/bartleby-llvm-project/llvm/include/llvm/Demangle/Demangle.h:12:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 error generated.
Target //:export failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.574s, Critical Path: 1.24s
INFO: 99 processes: 94 internal, 5 linux-sandbox.
FAILED: Build did NOT complete successfully

Environment

Output of my os-release:
PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian

Steps to reproduce

  1. Install Ubuntu 22.04.03
  2. Follow instructions as of here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.