i really don’t know, my reply to this post is what it says
Traceback (most recent call last):
File “/home/runner/ransomware-tester/decrypt.py”, line 3, in
decryptpass = os.environ[‘passwordfordecrypt’]
File “/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/os.py”, line 680, in getitem
raise KeyError(key) from None
KeyError: ‘passwordfordecrypt’
Can you give a link to the repl or the code?
I mean I think that means no secret is there but I’m not sure.
The problem is that there is no secret by that name. Please create a secret called “passwordfordecrypt” and try again.
Hey there, hope you are well
Your code is trying to access an environment variable called ‘passwordfordecrypt’ using the os.environ dictionary. However, this variable does not exist in the dictionary, so Python raises a KeyError exception. A KeyError means that you are trying to access a key that is not present in a dictionary. To fix this error, you need to make sure that the ‘passwordfordecrypt’ variable is defined and exported in your environment before running your code.
well see i am getting confused by it because i do have a secret under that name
Can you send a screenshot or smth with the value blurred out?
why should i? proof?
also i am going to change the value just incase you figure out a way to undo the blurr
Ummmm no? I just want to help you. 0_0
If you don’t want to, it’s fine lol.
here it is:
i already pressed save btw
ok… Ummm did you install os?
and Can you give a link to the repl?
yes i installed os, and im not gonna invite you im just gonna give you a link heres the link:
ransomware tester - Replit
chat here if you have an answer btw
I never asked you to invite me but ty lol.
the reason why i said that is because i didnt know what you meant