Git Product home page Git Product logo

Comments (4)

mhogomchungu avatar mhogomchungu commented on June 26, 2024

No,these backends are not aware of the implementation of "key+keyfile" option as SiriKali generates a passphrase that is a combination of a key and a keyfile and passes on the result as a passphrase to these backends.

The passphrase is generated with the below formular:
passphrase = hmac_sha256(key,keyfile contents)

You can use a CLI tool "hmac256"[1](DO NOT set the binary option) among others to generate the passphrase independently of SiriKali. This CLI tool should already be installed in your computer(it is in mine).

You can also use openssl to generate the passphrase with something like below:

 cat path/to/KeyFile | openssl dgst -sha256 -hmac "Key"

[1] http://manpages.ubuntu.com/manpages/xenial/en/man1/hmac256.1.html

from sirikali.

mhogomchungu avatar mhogomchungu commented on June 26, 2024

Implementations of key options are explained here: https://github.com/mhogomchungu/SiriKali/wiki/Frequently-Asked-Questions#40-what-does-different-key-options-means-in-the-dialog-for-creatingunlocking-volume

from sirikali.

ikatza avatar ikatza commented on June 26, 2024

Thanks! Already got it working.

from sirikali.

mhogomchungu avatar mhogomchungu commented on June 26, 2024

Version 1.2.5 of SiriKali(already released) has an option to display a password in the password dialog prompt and you can use this feature to see the generated key that will be passed to the backend.

From CLI currently on this git version,you can get the password also by using "-s" option that enables the feature together with "-f" that takes a path to a keyfile. The password will be asked by a terminal prompt. Example of the above is below:

[mtz@ink ~]$ sirikali -s -f /home/mtz/key 
Password: 
408d71e534422ff5af7894216c6762adc4fe11dfda20a7b9bfb61946355d05c6
[mtz@ink ~]$ 

from sirikali.

Related Issues (20)

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.