Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encrypt/decrypt a selected text with big issue #14

Open
pulsar14 opened this issue May 28, 2022 · 1 comment
Open

encrypt/decrypt a selected text with big issue #14

pulsar14 opened this issue May 28, 2022 · 1 comment

Comments

@pulsar14
Copy link

pulsar14 commented May 28, 2022

First time I use your N++ plugin ...

  1. select in N++ some Text
  2. encrypt selected text with pass = x
  3. decrypt selected text with pass = xx
    the text is correctly decrypted! .... What?
TODOOOOOOOO !!!!!!!!!!   ---> encrypt with key "x" ---> 8BD850D30D2346F70383E0674EEF6532CDD4346394A2FC73
8BD850D30D2346F70383E0674EEF6532CDD4346394A2FC73  ---> dencrypted with key "xx" ---> TODOOOOOOOO !!!!!!!!!!

Wow!!!
Idem if I choose any keys like: xxx, xxxx, xxxxx .....

Compliments for the basic security!

@chcg
Copy link
Collaborator

chcg commented May 29, 2022

Apart from using just x as passphrase is obviously not sufficient, see readme:

though of course it is always advised that you use a reasonably complex password

It is a strange behaviour that multiplying the passphrase is working not just for e.g. 'x' or 'y', but also for e.g. 'abc'.
Probably there should be at least a check of the minimum length of the passphrase and probably also the variance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants