HemmeligOrg / Hemmelig.app

Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
https://hemmelig.app
MIT License
684 stars 59 forks source link

Default lifetime & max views #220

Open SecureCPU opened 11 months ago

SecureCPU commented 11 months ago

Is there a way to set a default lifetime and default max views other than the original 4 hours?

bjarneo commented 11 months ago

No, not in the current state. It could easily be added though.

ltguillaume commented 11 months ago

I'm really missing this, too.

4 hours is fine when talking to someone over IM, but for any other slow chat medium it will probably expire before the link is even clicked by the other party.

SecureCPU commented 11 months ago

No, not in the current state. It could easily be added though.

Would be really awesome if it could be. I use it to request credentials from clients and I usually have to ask the clients to make sure they change the expiration and max views. As we can't always get to their tickets withing the 4 hours or we check to make sure they sent the correct credentials and then come back to it at a later time.

bjarneo commented 11 months ago

I understand you need it. I just have limited time these days. The cool thing though is that this is open source, so feel free to add a PR solving this :)

Else I am not sure when it will be fixed.

SecureCPU commented 11 months ago

I understand you need it. I just have limited time these days. The cool thing though is that this is open source, so feel free to add a PR solving this :)

Else I am not sure when it will be fixed.

Thanks. Really appreciate and love your work! It's an awesome product!

bjarneo commented 11 months ago

Thank you for those kind words!

One thing that is a quick fix though, is to change the TTL to something higher as default without env config. What would be the ideal time? 24 hours? 72?

@SecureCPU @ltguillaume

SecureCPU commented 11 months ago

Thank you for those kind words!

One thing that is a quick fix though, is to change the TTL to something higher as default without env config. What would be the ideal time? 24 hours? 72?

@SecureCPU @ltguillaume

I usually use 72. But not sure what others use.

ltguillaume commented 11 months ago

Same here.

bjarneo commented 11 months ago

https://github.com/HemmeligOrg/Hemmelig.app/releases/tag/v5.13.2 https://github.com/HemmeligOrg/Hemmelig.app/commit/0d175a63157248f8ac746c579c27d8315845298f

I have not verified it works. Docker image are being built, will probably be released in 15 minutes.

ltguillaume commented 11 months ago

Thanks @bjarneo!

SecureCPU commented 11 months ago

Awesome!. Thank you so much!! I truly appreciate it!