Skip to content

fernet value error #10

Description

@samthebutchr12

Traceback (most recent call last):
File "C:\Users"username"\PycharmProjects\FreeCodeCamp\mini projects\git_PW_manager.py", line 18, in
fer = Fernet(code)
File "C:\Users"username\PycharmProjects\FreeCodeCamp\venv\lib\site-packages\cryptography\fernet.py", line 39, in init
raise ValueError(
ValueError: Fernet key must be 32 url-safe base64-encoded bytes.

line 18 in PW manager: fer = Fernet(key)

line 39 in fernet: raise ValueError(
"Fernet key must be 32 url-safe base64-encoded bytes."
)

I am using Pycharm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions