-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
git-secret init fails if using BusyBox version of mktemp #475
Comments
Hello, @Divi09112 Can you please re-test with the current master branch of git-secret and let us know the results? There have been changes to how we use mktemp. If you do still see failures, can you paste the results of
That will show some info about where git-secret is failing. If you don't see errors, let us know that too please so we can close this issue. Also, can you provide steps how we would test git-secret using busybox? I installed 'busybox' on my ubuntu test system, and ran 'busybox bash' and then 'make test', but I couldn't replicate your issue - it seemed like the test was using the normal unix tools instead of the busybox versions. |
In the current master branch mktemp uses 'XXXXX' (5 Xs), so it doesn't work.
|
* fix for busybox mktemp, issue #475
What are the steps to reproduce this issue?
What happens?
Fails with error message
mktemp: invalid argument
What were you expecting to happen?
To successfully initialize git secret
Any other comments?
BusyBox version of mktemp requires
<template>
to end in 'XXXXXX' instead of 'XXX' in the case of GNU. More information: pires/docker-elasticsearch#56 (comment)What versions of software are you using?
Operating system: (
uname -a
) Linux 083a40661ac3 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 Linuxgit-secret
path: (which git-secret
) /usr/local/bin/git-secretgit-secret
version: (git secret --version
) 0.2.5git
version: (git --version
) 2.20.1Shell type and version: (
$SHELL --version
) GNU bash, version 4.4.19(1)-release (x86_64-alpine-linux-musl)gpg
version: (gpg --version
) 2.2.12The text was updated successfully, but these errors were encountered: