{"action":"created","issue":{"url":"https://api.github.com/repos/warner/magic-wormhole/issues/76","repository_url":"https://api.github.com/repos/warner/magic-wormhole","labels_url":"https://api.github.com/repos/warner/magic-wormhole/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/warner/magic-wormhole/issues/76/comments","events_url":"https://api.github.com/repos/warner/magic-wormhole/issues/76/events","html_url":"https://github.com/warner/magic-wormhole/issues/76","id":170321119,"number":76,"title":"Feature request: reusable codes?","user":{"login":"lilmike","id":1117427,"avatar_url":"https://avatars.githubusercontent.com/u/1117427?v=3","gravatar_id":"","url":"https://api.github.com/users/lilmike","html_url":"https://github.com/lilmike","followers_url":"https://api.github.com/users/lilmike/followers","following_url":"https://api.github.com/users/lilmike/following{/other_user}","gists_url":"https://api.github.com/users/lilmike/gists{/gist_id}","starred_url":"https://api.github.com/users/lilmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilmike/subscriptions","organizations_url":"https://api.github.com/users/lilmike/orgs","repos_url":"https://api.github.com/users/lilmike/repos","events_url":"https://api.github.com/users/lilmike/events{/privacy}","received_events_url":"https://api.github.com/users/lilmike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-10T03:39:57Z","updated_at":"2016-08-12T03:50:16Z","closed_at":null,"body":"Hi,\r\nI thought of a feature that I could really use, but I'm not sure if it would fit in in the current wormhole archetecture. Anyway, reusable codes would be nice, in which you make a code, and then whenever you want to reuse it, perhaps for a specific friend, you can just enter it. That way, instead of having to give them the code every time, perhaps making the transfer less secure, depending on the method of transfer of the code, you could just tell them 'You have a file!' or something, and they, assumin they already know the code, could simply enter the predetermined code and get the file.\r\nThoughts?\r\n-Michael.\r\n"},"comment":{"url":"https://api.github.com/repos/warner/magic-wormhole/issues/comments/239355162","html_url":"https://github.com/warner/magic-wormhole/issues/76#issuecomment-239355162","issue_url":"https://api.github.com/repos/warner/magic-wormhole/issues/76","id":239355162,"user":{"login":"warner","id":27146,"avatar_url":"https://avatars.githubusercontent.com/u/27146?v=3","gravatar_id":"","url":"https://api.github.com/users/warner","html_url":"https://github.com/warner","followers_url":"https://api.github.com/users/warner/followers","following_url":"https://api.github.com/users/warner/following{/other_user}","gists_url":"https://api.github.com/users/warner/gists{/gist_id}","starred_url":"https://api.github.com/users/warner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warner/subscriptions","organizations_url":"https://api.github.com/users/warner/orgs","repos_url":"https://api.github.com/users/warner/repos","events_url":"https://api.github.com/users/warner/events{/privacy}","received_events_url":"https://api.github.com/users/warner/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T03:50:16Z","updated_at":"2016-08-12T03:50:16Z","body":"Oh, the `--petname=Bob` UI I sketched out has a serious usability problem: you have to decide up-front that this transfer is something that you might want to use again in the future. Worse, both sides have to make that decision (Wormhole Seeds only work in pairs).\r\n\r\nWe could improve this a tiny bit by sending a flag: if one side uses `--petname=` to remember the Seed, the other side could prompt the user to do the same. `The other person decided to save this connection to later use: do you want to save it too? (Y/n)`. It would still require at least one side to be thinking ahead, though.\r\n\r\nAnother option is to ask at the end of the transfer. `Transfer complete: do you want to save this connection for future use? (enter petname to save under, or ENTER to skip):`. But asking that every time would make normal use kind of annoying.\r\n\r\nA third option is to remember the Wormhole Seed for the most recent transfer in `~/.wormhole/` somewhere, and add a command that retroactively assigns a persistent name to that seed. So `Transfer complete: to save this connection for later use, please run \"wormhole save-seed PETNAME\" before performing your next wormhole transfer`. It's still the case that both sides have to save it, though.\r\n\r\nA more persistent application would have an addressbook, which remembers the Seeds (or more sophisticated non-Wormhole encryption keys) under petnames, and file transfers would use the petnames exclusively. The only use of wormhole codes would be to add new entries to the addressbook. This would be super-useful (and in fact I created magic-wormhole to enable just this sort of application), but I think it's counter to the handy immediacy of the CLI tool. So I think we should continue to aim `wormhole send` as primarily a quick one-off transfer tool, but provide the persistence/repeatability as a secondary option.\r\n"}}
{"actor":{"display_login":"warner"}}