diff options
author | Roger Dingledine <arma@torproject.org> | 2008-11-20 01:51:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-11-20 01:51:51 +0000 |
commit | fd75e5839c466b04886c9b0312fb3866d68bb6ac (patch) | |
tree | f1db02c4bbc213d8ea3f2d5545c827f70ac22021 /TODO | |
parent | feed9fd1ef9183cc81a199627e092a6eec207ace (diff) |
add some more low-priority bugs to the list
git-svn-id: file:///home/or/svnrepo/updater/trunk@17333 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 49 |
1 files changed, 49 insertions, 0 deletions
@@ -41,3 +41,52 @@ - Testing - Much bigger unit tests. +- Bugs Roger keeps noticing + - you can add the same role to a key twice. + - wishlist item: thandy-pk dumpkey-all + +- Confusing tracebacks that could use a check and error message: + +If you type the wrong password, +Traceback (most recent call last): + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/SignerCLI.p +y", line 313, in ? + main() + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/SignerCLI.p +y", line 308, in main + globals()[cmd](args) + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/SignerCLI.p +y", line 202, in keygen + k.load() + File "/home/thandy/updater-live//lib/python2.4/site-packages/thandy/keys.py", +line 385, in load + contents = decryptSecret(contents, password) + File "/home/thandy/updater-live//lib/python2.4/site-packages/thandy/keys.py", +line 343, in decryptSecret + raise thandy.BadPassword() +thandy.BadPassword + +when your ~/.thandy/timestamp_key didn't get the secret key dumped too, +thandy@moria:~$ thandy-server timestamp +Traceback (most recent call last): + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/ServerCLI.p +y", line 191, in ? + main() + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/ServerCLI.p +y", line 186, in main + globals()[cmd](args) + File "/home/thandy/updater-live/lib/python2.4/site-packages/thandy/ServerCLI.p +y", line 166, in timestamp + keylist = thandy.formats.makeKeylistObj(ts_keyfile, True) + File "/home/thandy/updater-live//lib/python2.4/site-packages/thandy/formats.py +", line 752, in makeKeylistObj + klist.append({'key': k.format(private=includePrivate), 'roles' : k.getRoles( +) }) + File "/home/thandy/updater-live//lib/python2.4/site-packages/thandy/keys.py", +line 189, in format + result['d'] = intToBase64(self.key.d) + File "/usr/lib/python2.4/site-packages/Crypto/PublicKey/RSA.py", line 154, in +__getattr__ + return getattr(self.key, attr) +AttributeError: rsaKey instance has no attribute 'd' + |