Comments (5)
I have a suggestion for the long-term solution regarding self-destroy notes.
A feature I liked about d-note, a similar project (although now unmaintained) is that when you go to the secret URL, it will ask whether you want to read the note, warning that it will destroy the note. If there was a step like this before the destruction of the note, it would allow the user a chance to change the language before pushing the button that reveals and destroys the note.
from privatebin.
Oh I can confirm there is definitively a bug in the language selector that it misses the encryption key.
However, be aware that in case you have a self-destroy paste, it still will be deleted as currently the site is reloaded when you click the language picker.
So the short-term bug should be fixable quite easily. Long-term would be a good idea to make it possible to change the language without reloading (but maybe that is also not that important).
from privatebin.
A feature I liked about d-note [...] is that when you go to the secret URL, it will ask whether you want to read the note, warning that it will destroy the note.
I dig this idea, independent of fixing the issue caused by language selection.
Trying to iterate on it: How about only applying this to self destroying notes? We could have the client display that question only if there is a parameter appended to the hash to ask for loading the paste. This would allow us to add that param to burn-after-reading notes by default, while regular notes would still get instantly displayed. And you could also manually add it to existing paste-URLs.
You could then run an instance that asks even for regular pastes/discussions, allowing you to display some TOS like "by clicking yes, read note, you agree to follow our community guidelines and understand that topics like x, y & z may get discussed" via our notice option.
from privatebin.
Yeah this has been tracked in #541 and technically kind of depends on #245 or az least that would make a good fit.
from privatebin.
Hi, not sure if this is related but I suspect it is. I have deactivated the language selection in conf.php and use English as the language, also stored in conf.php.
If a German user now opens the link with the key, it seems like (sometimes? it's not always the case not sure why) an automatic language selection is carried out, the user is led from the English to the German page and the paste can no longer be read (presumably because of the missing key in the redirect?). The error message is identical to the one in this report. I probably got around it by setting the language in conf.php to German (languageselection is still false) and thus triggering a "lang"-cookie that bypasses the behavior.
If it is to be treated as a separate bug, I would take a closer look from mid-February and create a more detailed report with reproduction steps etc. It was quite tedious to find a workaround as I have thought my installation was faulty.
Using version 1.6.0 / 1.6.2
Edit: January 20, 2024 - The issue was related to DNS. An outdated IPv6 DNS entry was occasionally causing traffic to be routed to an old PrivateBin instance, which explains the inconsistent behavior I experienced. This inconsistency was partly due to the fact that not all networks I accessed supported IPv6. Removing the outdated DNS entry resolved the issues. IPv6 was a key factor in the 'sometimes' aspect of the problem, as its support is not yet universal and made troubleshooting (mostly on IPv4 networks) a lot harder.
from privatebin.
Related Issues (20)
- option to see the password HOT 2
- Allow to include third-party scripts from the config file HOT 4
- Making project REUSE compliant (OSS licensing) HOT 2
- Secrets from date HOT 5
- Build reproducibility problem: "git archive" locally results in different .tar.gz than on GitHub HOT 6
- Url Shortener POST Request HOT 2
- An option to require all pastes to be protected with a password HOT 2
- Improve documentation regarding comments. HOT 4
- `Save Paste` button should save to .md extension if paste format is markdown HOT 7
- `url` property served in api responses is incomplete HOT 3
- When shorten the url, link should be opened in a new window HOT 1
- Removing page template and cleaning up code HOT 1
- PHP 8.4 tests failing HOT 2
- 1.7.2 / valid to / paste lifetime / lease time / always 23 hours HOT 11
- Feature Request: Rephrase the WebAssembly error on unsupported browsers HOT 2
- bs5 file upload too small
- bs5 sourcecode highlighting hard to read
- S3 provider broken in 1.7.2 HOT 2
- bs5 text wrapping in menu bar instead of collapsing HOT 5
- In version 1.7.2, the user-selected expiration is ignored 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 privatebin.