Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to export the keyblob path #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

perezmeyer
Copy link

The application does an usual thing: harcodes the path on which files are saved. This means that other applications/shell scripts need to know this path beforehand.

This PR:

  • Creates and installs a C header file where other C/C++applications can get KEYBLOB_PATH from.
  • Adds an option to print the keyblob locaiton path to stdout.
  • Adds generated files entries to .gitignore.

@perezmeyer perezmeyer changed the title Be able to export the keyblob ath Be able to export the keyblob path Dec 28, 2023
@EstebanSannin
Copy link

I like the idea.
When I used it, I always wondered why the author hadn't implemented an option to change the keyblob_path at runtime.
Do you know if there is any reason to not do it?
Because I'm thinking of implementing it.

@perezmeyer
Copy link
Author

@EstebanSannin I have no idea why it was designed this way. I would have used paths, but hey, there might be a reason.

Anyways, perhaps an option to pass a directory for storing the keys is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants