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

File name too long #10

Open
aric8456 opened this issue Dec 27, 2023 · 1 comment
Open

File name too long #10

aric8456 opened this issue Dec 27, 2023 · 1 comment

Comments

@aric8456
Copy link

aric8456 commented Dec 27, 2023

Getting "file name too long" with the following syntax

sudo ./securecrt_cipher.py dec -2 --prefix 02 9c9b072741bff2069616b3bd47a...8b529278580b69aa8aab0e4b12c21bbfdf58f6089a4a6267782f7658e23e8ab83d9b1d84fa470ead0c1b153418e3c475a731f4e4 encryptionkey

End of the output below
title:how-does-SecureCRT-encrypt-password/python3/securecrt_cipher.py at b069c895bb092f03e87c73e6910e532af2225689 · HyperSine/how-does-SecureCRT-encrypt-password}: File name too long

pycryptodome: 3.19.0
python: 3.9.2

Only thing I can think is that the encryption key is too long @ 36char?

@HyperSine
Copy link
Owner

If your encryptionkey means the config passphrase that SecureCRT uses, you should use -p option, like

$ ./securecrt_cipher.py dec -2 --prefix 02 -p encryptionkey 9c9b072741bff2069616b3bd47a...8b529278580b69aa8aab0e4b12c21bbfdf58f6089a4a6267782f7658e23e8ab83d9b1d84fa470ead0c1b153418e3c475a731f4e4

But as for File name too long, I still have no clue. The output you gave seems not come from python. Can you post full output here?

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