GithubHelp home page GithubHelp logo

arpa2 / keehive Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 1.43 MB

Remote PKCS #11 Client Library and Hosting Dæmon (comms uses ASN.1 spec over Kerberos-protected links)

License: Other

CMake 0.60% C 69.77% C++ 28.15% Python 1.49%
pkcs11 asn1 gssapi cryptoki arpa2 client-server hosting

keehive's Introduction

Introduction

Please not that this project is still very much in early development and is probably not building for you.

I suggest you come back in a little while :)

Dependencies

For testing:

On Debian/Ubuntu these are available as packages:

$ sudo apt install libsofthsm2-dev libcmocka-dev libcppunit-dev

Build

 $ mkdir build
 $ cd build
 $ cmake ..
 $ make
 $ make install

Testing

 $ mkdir build
 $ cd build
 $ cmake .. -DENABLE_TESTING=ON
 $ make
 $ make test

Development

To generate the source code from the ASN1 definition:

  • Install python3
  • $ pip install -r generate/requirements.txt
  • $ python3 generate/generate.py

keehive's People

Contributors

gijzelaerr avatar

Watchers

 avatar  avatar  avatar

Forkers

bartzjegr

keehive's Issues

Impossible to figure out length of pSeed in pack_C_GenerateRandom_Return

Everywhere in the API and spec the arrays passed around are bundled with a length variable, with one exception: pSeed in pack_C_GenerateRandom_Return.

pulSeedLen,

For now this is a hardcoded value (0).

@vanrein proposed to wrap every object into a dercursor. I think this is a bit overkill, since this is the only point that I know of where this is a problem. i propose we change the spec.

Softhsm2 test suite calls some functions with NULL argument, ans1 spec doesn't support this

unpacking CK_ATTRIBUTE_ARRAY for C_GetAttributeValue_Call fails

unpacking CK_ATTRIBUTE_ARRAY fails at:

return status;

called by C_GetAttributeValue_Call:
status = pack_C_GetAttributeValue_Call(
).

Cursor is packed at:

CK_RV pTemplate_status = der_put_CK_ATTRIBUTE_ARRAY(

I can't figure out why this fails, since it works in all other cases and all other tests.

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.