{"thread":{"id":"17408","subject":"feature needed imap-send pass as cli switch","startedAt":"2009-01-28T07:18:52Z","lastAt":"2009-01-28T08:22:27Z","messageCount":2,"participants":["Caleb Cushing","David Aguilar"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"102261","messageId":"81bfc67a0901272318i707b66a0ja20f97df6fe95c73@mail.gmail.com","threadId":"17408","inReplyTo":null,"subject":"feature needed imap-send pass as cli switch","fromName":"Caleb Cushing","fromEmail":"xenoterracide@gmail.com","sentAt":"2009-01-28T07:18:52Z","receivedAt":"2009-01-28T07:18:52Z","isPatch":false,"sender":{"key":"xenoterracide@gmail.com","avatar":"https://gravatar.com/avatar/af3f0745dfa0ea9c4ee551d7d0a3cfe7ba8d229754c11678ab2ed23c3fa57065?d=mp&s=160"},"body":"I tend to have my .gitconfig shared on github with a bunch of other\nconfig files and this has been ok, until submitting a patch here I\nneeded to use imap-send, and the only way I see in the documentation\nis to put my email password in .gitconfig, obviously I can't push this\nup to my remote as I usually do. I'd like to see an option to pass the\npassword on the cli, either as an input prompt or as just an argument\nto an option, or both. I think storing it in the config file is a\nsecurity risk, storing passwords in plaintext is just bad practice.\n\nif it's already possible could someone share how with me? and perhaps\npatch the documentation to include how.\n-- \nCaleb Cushing\n\nhttp://xenoterracide.blogspot.com\n"},{"id":"102280","messageId":"402731c90901280022y7a2520bbx5454e523b852a5e8@mail.gmail.com","threadId":"17408","inReplyTo":"81bfc67a0901272318i707b66a0ja20f97df6fe95c73@mail.gmail.com","subject":"Re: feature needed imap-send pass as cli switch","fromName":"David Aguilar","fromEmail":"davvid@gmail.com","sentAt":"2009-01-28T08:22:27Z","receivedAt":"2009-01-28T08:22:27Z","isPatch":false,"sender":{"key":"davvid@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13196?v=4"},"body":"On Tue, Jan 27, 2009 at 11:18 PM, Caleb Cushing <xenoterracide@gmail.com> wrote:\n> I tend to have my .gitconfig shared on github with a bunch of other\n> config files and this has been ok, until submitting a patch here I\n> needed to use imap-send, and the only way I see in the documentation\n\nAre you sending patches through gmail?  If so, check out:\n\nhttp://git.or.cz/gitwiki/GitTips#head-a015948617d9becbdc9836776f96ad244ba87cb8\n\nYou can add .msmtprc to your .gitignore and keep it chmod 600.\n\nSure, it's cheating -- instead of keeping the data in .gitconfig we're\nnow keeping it in .mstmprc, but maybe it's a suitable workaround?\n\n\n\n> is to put my email password in .gitconfig, obviously I can't push this\n> up to my remote as I usually do. I'd like to see an option to pass the\n> password on the cli, either as an input prompt or as just an argument\n> to an option, or both. I think storing it in the config file is a\n> security risk, storing passwords in plaintext is just bad practice.\n>\n> if it's already possible could someone share how with me? and perhaps\n> patch the documentation to include how.\n> --\n> Caleb Cushing\n>\n> http://xenoterracide.blogspot.com\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\n\n\n-- \n    David\n"}]}