Coder Social home page Coder Social logo

Crash on save about encryptpad HOT 8 CLOSED

sergeevabc avatar sergeevabc commented on August 11, 2024
Crash on save

from encryptpad.

Comments (8)

evpo avatar evpo commented on August 11, 2024 1

As time allows, I will try to compile Botan with disabled SSE4 for users like yourself. In fact I am working on a new release and if everything goes well, I may be able to disable SSE4 requirement in the new release.

from encryptpad.

sergeevabc avatar sergeevabc commented on August 11, 2024 1

I confirm that 0.5.0.3 has this issue fixed, no crash on my end.

from encryptpad.

evpo avatar evpo commented on August 11, 2024

Hi, I've seen a similar problem before. What's your hardware? You can also enable logging. Run encryptpad.exe --help in cmd to see how.

from encryptpad.

sergeevabc avatar sergeevabc commented on August 11, 2024

Intel Core 2 Duo T7250 @ 2.00 GHz, 4 GB DDR2 RAM

$ encryptpad --log-file enclog.txt --log-severity verbose
$ type enclog.txt
INFO  [19476] [qMain@162] Log instance started
INFO  [19476] [MainWindow::saveAs@585] selectedFilter:
INFO  [19476] [MainWindow::saveAs@596] selection.file_name: C:/EncryptPad/abc.epd
INFO  [19476] [MainWindow::saveAs@597] selection.filter: EncryptPad (*.epd)

from encryptpad.

evpo avatar evpo commented on August 11, 2024

Most likely it crashes when accessing the encryption library Botan right after you entered the passphrase. The processor does not support sse4 instruction set and the botan library is built with the switches enabling sse4 -msse4.1-msse4.2.

There was another user with similar problem and I narrowed it down to the CPU. I don't have a CPU handy to test this problem.

There is emulator for older CPUs apparently that some gaming sites recommend. You can have a look:

https://www.intel.com/content/www/us/en/developer/articles/tool/software-development-emulator.html

It was recommended for running new games on older CPUs.

That said the proper solution would be to recompile EncryptPad without the SSE4 switch. Compiling EncryptPad on Windows is not trivial but there is an article (https://evpo.net/encryptpad/#compile-on-windows). Older versions of EncryptPad did not use Botan with SSE4. They should work theoretically.

from encryptpad.

evpo avatar evpo commented on August 11, 2024

Another link describes how to use the intel emulator: https://steamcommunity.com/sharedfiles/filedetails/?id=2362590754

from encryptpad.

sergeevabc avatar sergeevabc commented on August 11, 2024

Intel's website is currently not available to users from Russia, but the fact that a small encryption utility of yours suddenly requires an emulator to run properly disturbs me.

You see, @evpo, nowadays ordinary people also tend to have sensitive information, not just the celestial ones and the golden billion with a bleeding-edge hardware. Thus, cryptography is no longer a luxury, but a necessity. Accordingly, cryptoapps should be widely accessible, i.e. work with almost any hardware -- the very goal to have in mind in the first place, while designing such an app. In particular, the developers of GPG, Veracrypt, Keepass, Cryptomator, DNSCrypt, Restic, etc follow this guideline, their apps work safe and sound for years.

In case anyone is stuck in a similar situation, there are some alternatives. For example, Safenotes.

from encryptpad.

evpo avatar evpo commented on August 11, 2024

The new release is available: https://github.com/evpo/EncryptPad/releases/tag/v0.5.0.3

I disabled the sse4 components of the Botan library but I don't have the hardware to test handy. Let me know if it's fixed.

from encryptpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.