{"action":"created","issue":{"url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/30","repository_url":"https://api.github.com/repos/rfjakob/gocryptfs","labels_url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/30/comments","events_url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/30/events","html_url":"https://github.com/rfjakob/gocryptfs/issues/30","id":159428307,"number":30,"title":"Providing the password via stdin","user":{"login":"petres","id":3594062,"avatar_url":"https://avatars.githubusercontent.com/u/3594062?v=3","gravatar_id":"","url":"https://api.github.com/users/petres","html_url":"https://github.com/petres","followers_url":"https://api.github.com/users/petres/followers","following_url":"https://api.github.com/users/petres/following{/other_user}","gists_url":"https://api.github.com/users/petres/gists{/gist_id}","starred_url":"https://api.github.com/users/petres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petres/subscriptions","organizations_url":"https://api.github.com/users/petres/orgs","repos_url":"https://api.github.com/users/petres/repos","events_url":"https://api.github.com/users/petres/events{/privacy}","received_events_url":"https://api.github.com/users/petres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-09T14:52:57Z","updated_at":"2016-06-09T16:24:54Z","closed_at":null,"body":"Could it be implemented that the password is provided via stdin to the `gocryptfs` command. Right now I am getting: \r\n> Could not read password from terminal: inappropriate ioctl for device\r\n\r\nAdditional question: Are there some security concerns in providing the password in that way. It doesn't have to be stdin, some other file descriptor would be also fine.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/comments/224948836","html_url":"https://github.com/rfjakob/gocryptfs/issues/30#issuecomment-224948836","issue_url":"https://api.github.com/repos/rfjakob/gocryptfs/issues/30","id":224948836,"user":{"login":"rfjakob","id":286847,"avatar_url":"https://avatars.githubusercontent.com/u/286847?v=3","gravatar_id":"","url":"https://api.github.com/users/rfjakob","html_url":"https://github.com/rfjakob","followers_url":"https://api.github.com/users/rfjakob/followers","following_url":"https://api.github.com/users/rfjakob/following{/other_user}","gists_url":"https://api.github.com/users/rfjakob/gists{/gist_id}","starred_url":"https://api.github.com/users/rfjakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfjakob/subscriptions","organizations_url":"https://api.github.com/users/rfjakob/orgs","repos_url":"https://api.github.com/users/rfjakob/repos","events_url":"https://api.github.com/users/rfjakob/events{/privacy}","received_events_url":"https://api.github.com/users/rfjakob/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T16:24:53Z","updated_at":"2016-06-09T16:24:53Z","body":"Makes sense. I'll take a look.\nOn Jun 9, 2016 18:22, \"Peter Reschenhofer\" <notifications@github.com> wrote:\n\n> I already tried the option -extpass with zenity and it works well.\n>\n> Basically I want that a program - which knows already the password (and\n> yes, through a graphical prompt) - to be able to call gocryptfs and\n> providing directly the password. Sure, I could write the password in a file\n> or an environmental variable and use -extpass to grab it from there, but\n> wouldn't a mechanism which doesn't have to exec another program to get the\n> password a better way?\n>\n> Actually I thought that would be trivial change.\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/rfjakob/gocryptfs/issues/30#issuecomment-224948202>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/AARgf9i6YiBS4h6PaHp-x4sOSpMvpuVMks5qKD3OgaJpZM4IyD4Z>\n> .\n>\n"}}
{"actor":{"display_login":"rfjakob"}}