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

Syntax error in rsa.key def __init__(self, n: int, e: int) -> None: #160

Closed
John-Oula opened this issue Aug 12, 2020 · 1 comment
Closed

Comments

@John-Oula
Copy link

Im am running the code on Apache 16.04 with mod-wsgi enabled..Python 3.7

[Wed Aug 12 15:48:40.297614 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] import rsa
[Wed Aug 12 15:48:40.297618 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] File "/usr/local/lib/python3.7/site-packages/rsa/init.py", line 26, in
[Wed Aug 12 15:48:40.297638 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] from rsa.key import newkeys, PrivateKey, PublicKey
[Wed Aug 12 15:48:40.297666 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] File "/usr/local/lib/python3.7/site-packages/rsa/key.py", line 56
[Wed Aug 12 15:48:40.297670 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] def init(self, n: int, e: int) -> None:
[Wed Aug 12 15:48:40.297672 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] ^
[Wed Aug 12 15:48:40.297674 2020] [wsgi:error] [pid 31225] [remote 153.3.101.137:33340] SyntaxError: invalid syntax

@sybrenstuvel
Copy link
Owner

Please do not open multiple tickets for the same problem.

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