Giter Site home page Giter Site logo

clevis.go's People

Contributors

anatol avatar lack avatar

Stargazers

 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

clevis.go's Issues

Guide for using YubiKey in initramfs

I have noticed that the package clevis-extra-pins-git on Arch Linux includes the YubiKey functionality from this repo, which can be used to unlock a disk during boot.

It would be nice to have a little guide for how to achieve this (support for YubiKey in Clevis to decrypt a disk during boot) on distros where this package is not available. The guide could be in the readme or in the wiki, I imagine.

Edit: Many systems use Dracut, instead of Booster, for creating an initramfs, so that's what I had in mind.

Implement fingerprint encryption/decryption

It is a counterpart for the upstream issue latchset/clevis#245

Some computers (e.g. Lenovo Thinkpad X1 Yoga) have a built in fingerprint sensor. This would be a good candidate for a clevis pin. Having a clevis-fingerprint pin will allow to have a full-disk-encryption with fingerprint unlock functionality. That is a convenient and secure way to protect the user data.

I haven't really looked at fingerprint API but I found a few projects that actively use this functionality. It is something that can give pointers on utilizing fingerprint sensor in celvis.

https://gitlab.freedesktop.org/libfprint/fprintd/-/blob/master/pam/pam_fprintd.c
https://gitlab.freedesktop.org/libfprint/fprintd/-/tree/master
https://gitlab.freedesktop.org/libfprint/libfprint

Implement Encrypt() logic

Currently clevis.go focuses on decryption logic only. But it would be great to add Encrypt() for completeness as well.

Add structs for clevis pins

Rather than just using raw map[string] interface{} when dealing with these clevis pin configurations, it would be convenient to provide a struct with full json marshalling/unmarshalling.

Implement binary store format for encrypted clevis data

Currently clevis uses json to store its encrypted data. It also uses base64 encoding a lot. So clevis has a lot of binary->base64->json->base64->... conversions. It adds quite a lot of space and CPU overhead and this could be a problem for services that store/handle a lot of encrypted data.

Try to implement a binary encoding for clevis data using Thrift protocol.

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.