[Twisted-Python] how to run ckeygen
I did "pip install twisted" and it seemed to install okay. Now I'm trying to get https://twistedmatrix.com/documents/current/_downloads/9620a18fe21cabe0de79cc9c0efe1043/sshsimpleserver.py running locally. To do so it says I need to first do "ckeygen -t rsa -f ssh-keys/ssh_host_rsa_key". ssh-keygen is a command that's commonly available on Linux systems but ckeygen... that appears to be a twisted thing. When I try to run that on Ubuntu I get a "-bash: ckeygen: command not found" error. Maybe there's a ckeygen.py file that I need to be running but if so idk where it is. Maybe if I did I could rename it to ckeygen and then copy it to /usr/bin or whatever and run it from there but idk. Thanks! ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] how to run ckeygen
On Sat, Jan 09, 2021 at 11:03:28AM -0600, Thomas Anderson wrote: > I did "pip install twisted" and it seemed to install okay. > > Now I'm trying to get > https://twistedmatrix.com/documents/current/_downloads/9620a18fe21cabe0de79cc9c0efe1043/sshsimpleserver.py > running locally. To do so it says I need to first do "ckeygen -t rsa -f > ssh-keys/ssh_host_rsa_key". ssh-keygen is a command that's commonly > available on Linux systems but ckeygen... that appears to be a twisted > thing. When I try to run that on Ubuntu I get a "-bash: ckeygen: command > not found" error. It's in the Twisted distribution (perhaps pip has installed it to somewhere not on your $PATH? On Linux, hopefully you're using pip in conjunction with a virtualenv, in which case you may need to activate the virtualenv), but you do need to use "pip install 'Twisted[conch]'" to get the right dependencies. $ virtualenv twisted-test $ twisted-test/bin/pip install 'Twisted[conch]' $ twisted-test/bin/ckeygen --help Usage:ckeygen [options] Options: -C, --comment= Provide new comment. -N, --newpass= Provide new passphrase. -P, --pass= Provide old passphrase. -b, --bits= Number of bits in the key to create. -f, --filename= Filename of the key file. --help Display this help and exit. -l, --fingerprint Show fingerprint of key file. --no-passphrase Create the key with no passphrase. -o, --format= Fingerprint format of key file. [default: sha256-base64] -p, --changepassChange passphrase of private key file. --private-key-subtype= OpenSSH private key subtype to write ("PEM" or "v1"). [default: PEM] -q, --quiet Quiet. -t, --type= Specify type of key to create. --version Display Twisted version and exit. -y, --showpub Read private key file and print public key. ckeygen manipulates public/private keys in various ways. Alternatively, if you don't mind having a Twisted version of an age that roughly matches when the Ubuntu version you're running was being prepared, then you can run "sudo apt install python3-twisted" to get a system-installed version. That'll give you /usr/bin/ckeygen3 rather than ckeygen, but close enough. Whether the older version is good enough depends on what you're doing. -- Colin Watson (he/him) [cjwat...@debian.org] ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
[Twisted-Python] Weekly Bug Summary
Bug summary __ Summary for 2021-01-03 through 2021-01-10 Opened Closed Total Change Enhancements: 0 0 1469 +0 Defects: 3 0 1000 +3 Tasks: 0 0 94 +0 Regressions: 1 1 2 +0 Total: 4 1 2567 +3 |== Type Changes |== Priority Changes |== Component Changes |Defect: +3 |Normal: +3 |Core: +2 |Release Blocker: Regression: +0 |Web: +1 Total Tickets Open Tickets New / Reopened Bugs __ = Normal = [#10076] Bad Descriptor/Malformed Descriptor Found (opened by Casuallynoted) defect core http://twistedmatrix.com/trac/ticket/10076 [#10077] Twisted's coveralls configuration seems mostly broken (opened by exarkun) defect core http://twistedmatrix.com/trac/ticket/10077 [#10078] Unable to do http calls to punycode-encoded emoji domains (opened by Sorunome) defect webhttp://twistedmatrix.com/trac/ticket/10078 [#10069] Twisted trunk breaks tests in buildbot's regression suite (opened by rodrigc) release blocker: regression core http://twistedmatrix.com/trac/ticket/10069 Closed Bugs __ = Normal = [#10070] Twisted trunk breaks tests in buildbot's regression suite (opened by rodrigc, closed by rodrigc, duplicate) release blocker: regression core http://twistedmatrix.com/trac/ticket/10070 Ticket Lifetime Stats __ Oldest open ticket - [#50] conch command-line client doesn't work in win32 (since 2003-07-12 14:41:06). Newest open ticket - [#10078] Unable to do http calls to punycode-encoded emoji domains (since 2021-01-08 06:32:13.707088). Mean open ticket age: 2990 days, 7:52:49.257255. Median: 2977 days, 7:59:44.098792. Standard deviation: 1489 days, 2:17:23.402051. Interquartile range: 2186 days, 8:51:03.569241. Mean time between ticket creation and ticket resolution: 613 days, 18:23:47.723325. Median: 58 days, 4:55:49.641954. Standard deviation is 1016 days, 19:53:47.468399. The interquartile range is 806 days, 2:33:39. Mean time spent in review: 101 days, 14:56:43.015693. Median: 4 days, 18:32:05. Standard deviation: 488 days, 5:32:01.530823. Interquartile range: 23 days, 22:20:08. Mean number of times a ticket is reviewed: 1.78842270586. Median: 1 Standard deviation: 1.4100411. Interquartile range: 1. Contributor Stats __ In the last 4 weeks, 9 unique ticket reporters 0 unique ticket reviewers 2 unique ticket resolvers In the last 24 weeks, 37 unique ticket reporters 9 unique ticket reviewers 14 unique ticket resolvers In the last 48 weeks, 62 unique ticket reporters 12 unique ticket reviewers 26 unique ticket resolvers ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python