GithubHelp home page GithubHelp logo

cryptolens / cryptolens-cpp Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 15.0 918 KB

C++ Interface for Cryptolens Web API

Home Page: https://cryptolens.io/support-cycle/

License: Other

C++ 94.64% CMake 0.50% Perl 4.80% C 0.07%
licensing-library licensing-as-a-service license-checking

cryptolens-cpp's People

Contributors

artemlos avatar squareys avatar svedi avatar tkegrund avatar

Stargazers

 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

cryptolens-cpp's Issues

Unresolved external symbols even with imported lib

I'm trying to setup Cryptolens on a C++ Static Lib.
I build cryptolens lib with MT and MTd for x86.

I'm importing on the library like this:

#ifdef _DEBUG
#pragma comment(lib, "Cryptolens_Debug.lib")
#else
#pragma comment(lib, "Cryptolens_Release.lib")
#endif

Also tried to import on the main app on the linker, nothing seems to be working.

This are the errors (if I omit the lib import from above I get many more errors):
image

The example applications work with the lib I compiled.

No way to retrieve API error response messages

Hi all,

just started integrating cryptolens into my desktop application. On activate_floating, the api returns:

"{\"result\":1,\"message\":\"No active subscription found. Please contact support.\"}"

Yet, all I get through the C++ API is a cryptolens::errors::Main::UNKNOWN_SERVER_REPLY. Ideally, there would be a way to retrieve the "message" with the error during activation, or this error could be handled more specifically.

Thanks and best,
Jonathan

include paths too long

while building cryptolense in one of our applications, we hit the maximal path length "path too long" on windows.
Some includes are unnecessary long and are causing this problem:

example: cryptolens\src\basic_SKM.cpp
154 characters:
cryptolens\include\cryptolens/imports/ArduinoJson5/../../../../third_party/ArduinoJson5/ArduinoJson/StringTraits/../TypeTraits/../Polyfills/alias_cast.hpp

Allow easier import of RSA public keys

It should be possible to insert public keys in the following format, without having to split the parts.

<RSAKeyValue><Modulus>.....</Modulus><Exponent>.....</Exponent></RSAKeyValue>

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.