{"action":"created","issue":{"url":"https://api.github.com/repos/oblique/create_ap/issues/69","labels_url":"https://api.github.com/repos/oblique/create_ap/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/oblique/create_ap/issues/69/comments","events_url":"https://api.github.com/repos/oblique/create_ap/issues/69/events","html_url":"https://github.com/oblique/create_ap/issues/69","id":68096122,"number":69,"title":"Supporting user profiles","user":{"login":"hashken","id":1597707,"avatar_url":"https://avatars.githubusercontent.com/u/1597707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashken","html_url":"https://github.com/hashken","followers_url":"https://api.github.com/users/hashken/followers","following_url":"https://api.github.com/users/hashken/following{/other_user}","gists_url":"https://api.github.com/users/hashken/gists{/gist_id}","starred_url":"https://api.github.com/users/hashken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashken/subscriptions","organizations_url":"https://api.github.com/users/hashken/orgs","repos_url":"https://api.github.com/users/hashken/repos","events_url":"https://api.github.com/users/hashken/events{/privacy}","received_events_url":"https://api.github.com/users/hashken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-13T13:27:23Z","updated_at":"2015-04-17T17:51:58Z","closed_at":null,"body":"One issue I face with create_ap is that I always have to retype the entrie command the next time I use it, despite being the case that almost all my parameters will remain the same. Of course, I can use command history search, but it would be nice if create_ap can remember my settings.\r\n\r\nI was thinking of implementing this. All the switches used, wifi interface, ethernet interface, ssid, password etc. already have internal variables being set. Supporting user profiles would just involve saving these variables to a file and having new switches to enable saving and loading of profiles.\r\n\r\nOne security concern might be storing of password. But, if the user is entering the password on command-line then he/she is anyway taking the risk of it showing up in the process table and also in the command history. If he/she uses stdin to send the password to create_ap, then we can just not store the password and prompt it from the user.\r\n\r\nOne last point to be taken care of, is if direct editing of the user_profile file will be allowed. I'm in favour of this; we can maybe have a format similar to ssh config. In this case, we would need to do some basic validation of the fields. But, I'm sure this is not difficult as most of values given with the command-line switches are anyway being validated.\r\n\r\nWhat are your thoughts on this? If the above description is fine, then I'll start implementing this and send a pull request."},"comment":{"url":"https://api.github.com/repos/oblique/create_ap/issues/comments/94038534","html_url":"https://github.com/oblique/create_ap/issues/69#issuecomment-94038534","issue_url":"https://api.github.com/repos/oblique/create_ap/issues/69","id":94038534,"user":{"login":"oblique","id":194040,"avatar_url":"https://avatars.githubusercontent.com/u/194040?v=3","gravatar_id":"","url":"https://api.github.com/users/oblique","html_url":"https://github.com/oblique","followers_url":"https://api.github.com/users/oblique/followers","following_url":"https://api.github.com/users/oblique/following{/other_user}","gists_url":"https://api.github.com/users/oblique/gists{/gist_id}","starred_url":"https://api.github.com/users/oblique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblique/subscriptions","organizations_url":"https://api.github.com/users/oblique/orgs","repos_url":"https://api.github.com/users/oblique/repos","events_url":"https://api.github.com/users/oblique/events{/privacy}","received_events_url":"https://api.github.com/users/oblique/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T17:51:58Z","updated_at":"2015-04-17T17:51:58Z","body":"Unfortunately we can not handle them. If someone wants to override them then he/she needs to write all of them. Another option is to introduce switches for them, but this will create some mess and break the compatibility.\r\n\r\nIf I have any idea I will let you know. If you have, let me know. "}}