Comments (5)
Hello @TheGroundZero, thanks for contributing to the Password Pusher community! We will respond as soon as possible.
from passwordpusher.
At first glance I have no idea. All looks good. Even running locally with that secret value works:
docker run -p "5100:5100" --name pwpush --env PWPUSH_MASTER_KEY=2460873c513c44d596b07d0c190c760d9e4c1e4777125d1728c5282c87d2d6ad pglombardo/pwpush:release
Let me give it some thought.
from passwordpusher.
Could there be an extra newline in the secret? Could you try assuring that there is no new line in /srv/service/secret/pwpush
?
from passwordpusher.
Aha, that may be it!
The file was made by just opening it in nano and copy/pasting from the browser.
Nano does tend to add a newline add the end of a file.
$ cat pwpush
2460873c513c44d596b07d0c190c760d9e4c1e4777125d1728c5282c87d2d6ad
$ hexdump pwpush
0000000 3432 3036 3738 6333 3135 6333 3434 3564
0000010 3639 3062 6437 6330 3931 6330 3637 6430
0000020 6539 6334 6531 3734 3737 3231 6435 3731
0000030 3832 3563 3832 6332 3738 3264 3664 6461
0000040 000a
0000041
$ wc -c pwpush
65 pwpush
To fix it:
$ echo -n "2460873c513c44d596b07d0c190c760d9e4c1e4777125d1728c5282c87d2d6ad" > pwpush
$ wc -c pwpush
64 pwpush
Maybe it's not a bad idea to do a .strip
of the string before using it?
from passwordpusher.
Excellent - that is great to hear.
Maybe it's not a bad idea to do a .strip of the string before using it?
I agree but this environment variable is actually processed by a 3rd party gem. I'll think about filing a fix request there.
I'll close this issue out but if anything remains - let me know.
from passwordpusher.
Related Issues (20)
- Https Activation on Container HOT 5
- PasswordPusher in a Docker container behind an Apache reverse proxy - incorrect URLs HOT 5
- Admin panel 404 HOT 4
- /r/:url_token.json - Doesn't allow to pass passphrase HOT 2
- Can we configure the max length of text/password? HOT 3
- Rate Limit Exceeded HOT 4
- Error 500 when making a new account; Seems like a SSL error HOT 33
- Just password generation for internal users and login for external users HOT 3
- Error 500 on sending emails HOT 18
- What the the most important folders and files of this working? HOT 1
- Password policy for accounts (login functionnality) HOT 2
- New user confirmation can get triggered by bots HOT 10
- Update the latest tag to use the latest version HOT 2
- Can "© 2024 Pedro Giacomo Lombardo" be removed with a variable? HOT 2
- Deleted note still perserve 1 click retrieval? HOT 4
- url push with 1-click retrieval step consume two views HOT 4
- Latest tag linked to 1.41.0 HOT 2
- mysql errors HOT 6
- Setting theme in environment of a service file fails HOT 12
- Can't create account on self-hosted app HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passwordpusher.