Windows-CPP / LockBox

Encryption algorithims for seperate programs that I may or may not use in the future... Mainly for my own use, but if you can use it, pop off ig- (P.S., more into under /doc/))
GNU General Public License v3.0
0 stars 0 forks source link

[BUG] - FET Pin Generation | List Index out of Range #13

Closed Windows-CPP closed 1 year ago

Windows-CPP commented 1 year ago

Describe the bug When a key is generated, and the FET pin generation begins, the error below is thrown:

LockBox::Action::Starting::PixelFinal//FinalList
LockBox::Action::Starting::PixelFinal//FET_Pin:
Traceback (most recent call last):
  File "c:\Users\StG_44\Desktop\Repos\LockBox\lockbox_main.py", line 113, in <module>
    tempstr += finalList[temp]
IndexError: list index out of range

This may only happen with one specific image- I didn't keep the dimensions.

To Reproduce Steps to reproduce the behavior:

  1. Run lockbox_main.py
  2. Encounter Error a. (May take several attempts- May only happen w/ one image)

Expected behavior What should have happened: The code continues to run, and produces a FET pin.

Version Info:

Windows-CPP commented 1 year ago

Part of the issue- if encLevel in settings.py is equal to 1, then the bug occurs. Any other value doesn't seem to spark the issue. Also, there may be an issue with keygen. I'm not sure if encLevel is making the correct number of integers per key.

Windows-CPP commented 1 year ago

i think I fixed this like 4 months ago. too lazy to check.

will reopen if still occuring