pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
1.94k stars 341 forks source link

Can we configure the max length of text/password? #2152

Open thecoffeebin opened 3 months ago

thecoffeebin commented 3 months ago

I don't see any env variable on that but I could be overlooking :) Right now it's defaulted to 1048576 Characters, I would like to minimize it since it's only used for password sharing.

thecoffeebin commented 2 months ago

@pglombardo Can you comment on this as well, when you're free? Thanks :)

pglombardo commented 2 months ago

I have no idea why I missed your messages. 🤦 Are you self-hosting or using pwpush.com? I have this coming soon as an in app admin configuration:

Screenshot 2024-06-14 at 11 27 48

thecoffeebin commented 2 months ago

@pglombardo No worries, it was not your fault because my account was mistakenly flagged earlier, causing my comments hidden until it was cleared. Yes I'm self-hosting pwpush. Thanks for adding this option :)