{"action":"created","issue":{"url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/2","labels_url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/2/comments","events_url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/2/events","html_url":"https://github.com/attila-lendvai/gpg-keygen/issues/2","id":94613273,"number":2,"title":"SyntaxError: invalid token","user":{"login":"businessBoris","id":6587527,"avatar_url":"https://avatars.githubusercontent.com/u/6587527?v=3","gravatar_id":"","url":"https://api.github.com/users/businessBoris","html_url":"https://github.com/businessBoris","followers_url":"https://api.github.com/users/businessBoris/followers","following_url":"https://api.github.com/users/businessBoris/following{/other_user}","gists_url":"https://api.github.com/users/businessBoris/gists{/gist_id}","starred_url":"https://api.github.com/users/businessBoris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/businessBoris/subscriptions","organizations_url":"https://api.github.com/users/businessBoris/orgs","repos_url":"https://api.github.com/users/businessBoris/repos","events_url":"https://api.github.com/users/businessBoris/events{/privacy}","received_events_url":"https://api.github.com/users/businessBoris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T00:34:02Z","updated_at":"2015-07-13T11:09:34Z","closed_at":null,"body":"Hi,\r\nHappened upon your code looking for gpg best practices; intrigued by the 8192bit RSA.\r\nSadly discovered a glitch; is it a Python 2 piece of code? I don't l know enough about Python to tell.\r\nI'm running on a stock ArchLinux system on this machine.\r\n\r\n\r\n~ ❯❯❯ python ./Downloads/gpg-keygen.py                               master ✱ ◼\r\n  File \"./Downloads/gpg-keygen.py\", line 53\r\n    os.makedirs(path, mode = 0700)\r\n                                ^\r\nSyntaxError: invalid token\r\n~ ❯❯❯ python --version                                             ⏎ master ✱ ◼\r\nPython 3.4.3\r\n\r\nLet me know if there's anything I can do to help.\r\n"},"comment":{"url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/comments/120891968","html_url":"https://github.com/attila-lendvai/gpg-keygen/issues/2#issuecomment-120891968","issue_url":"https://api.github.com/repos/attila-lendvai/gpg-keygen/issues/2","id":120891968,"user":{"login":"attila-lendvai","id":840345,"avatar_url":"https://avatars.githubusercontent.com/u/840345?v=3","gravatar_id":"","url":"https://api.github.com/users/attila-lendvai","html_url":"https://github.com/attila-lendvai","followers_url":"https://api.github.com/users/attila-lendvai/followers","following_url":"https://api.github.com/users/attila-lendvai/following{/other_user}","gists_url":"https://api.github.com/users/attila-lendvai/gists{/gist_id}","starred_url":"https://api.github.com/users/attila-lendvai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attila-lendvai/subscriptions","organizations_url":"https://api.github.com/users/attila-lendvai/orgs","repos_url":"https://api.github.com/users/attila-lendvai/repos","events_url":"https://api.github.com/users/attila-lendvai/events{/privacy}","received_events_url":"https://api.github.com/users/attila-lendvai/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T11:09:34Z","updated_at":"2015-07-13T11:09:34Z","body":"hi!\r\n\r\nthat script only runs on pything 2.7. i already have a local version that is updated to run using python3.\r\n\r\nas a sidenote: i've been updating my knowledge because of the new gnupg 2.1 release, and some of these \"best practices\" in my notes need to be amended. especially if you are looking for a strong key, then apparently using RSA beyond 2048, or maybe 4096, is pretty much pointless (newer gnupg versions also reject the gen key request for 8k keys). they recommend using the new ECC algorithm, but it's very new (which means others will have a headache if their programs don't support it).\r\n\r\ni think the best of both worlds would be to generate an ECC master signing key (which is mostly only needed by you, except when you sign other people's keys), and use some more conservative subkeys that interoperate better with old/other tools.\r\n\r\ni'll soon update the readme along these lines, and hopefully the script, too."}}