Skip to content
/ ckrs Public

Cryptoki wrapper for the Kernel's Key Retention Service.

License

Notifications You must be signed in to change notification settings

safesh/ckrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CKRS - Cryptoki Key Retention Service

Use the Linux Kernel's Key Retention Service as a "virtual cryptographic hardware" through the PKCS #11 v3.10 spec. Replacement for the ssh-agent(1).

Documentation:

TODO:

Usage

TODO:

shh -I path/to/libcryptokikrs.so user@domain

Building

To build the project just run zig build, if you want to test things run zig build test. To test with ssh use the Makefile under test/, to do so:

  • make docker: Will generate a new ssh ca user certificate and generate and sign a user certificate (under test/user/), it also start a docker with ssh on port 2222.
  • make ssh: Will attempt to connect to the server on port 2222 using libcryptokikrs.

About

Cryptoki wrapper for the Kernel's Key Retention Service.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages