<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It’s very easy to leak private information in VCR cassette files. I too have made this mistake, with AWS credentials no less (yikes!).<div class="">Always always always read your VCR cassette files carefully before committing them. Not doing so is the same as committing code you’ve not read :)</div><div class=""><br class=""></div><div class="">Good luck.<br class=""><div class="">
<br class="">
<hr style="display: block; height: 1px; border: 0; border-top: 1px dotted #ccc; margin: 5px 0; padding: 0;" class="">
<br class="">
<table border="0" cellpadding="0" width="100%" class="">
<tbody class="">
<tr class="">
<td valign="top" width="70" class="">
<img height="60" src="http://ej-public.s3.amazonaws.com/images/rubbish.png" style="margin: 8px 8px 0 0;" class="">
</td>
<td style="font-family:'Lucida Grande',sans-serif" class="">
<span style="font-weight:bold; color: #333333; font-size: 18px; line-height:30px;" class="">Ed James</span>
<br class="">
<span style="font-weight:normal; color: #999; font-size: 12px; line-height:16px;" class="">
<a href="mailto:ed.james.spam@gmail.com" style="color:#999; text-decoration:none" target="_blank" class="">I will respect your spam</a>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 11 Sep 2018, at 16:44, Matthew Rudy Jacobs <<a href="mailto:matthewrudyjacobs@gmail.com" class="">matthewrudyjacobs@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">As it happens VCR cassettes accept ERB tags.<div class=""><br class=""></div><div class="">So I once wrote a script to regenerate cassettes using real credentials,</div><div class="">then right afterwards replace the credentials in the cassettes with an ERB reference.</div><div class=""><br class=""></div><div class="">It's risky that you'll mess it up,</div><div class="">but it worked for my needs.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, 11 Sep 2018 at 16:32, Toby Privett <<a href="mailto:toby@snaplab.co.uk" class="">toby@snaplab.co.uk</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">On a tangent, I once let API credentials leak into VCR yaml files. Then pushed them to an open source repo.<div class="">You're probably not doing that, but worth being mindful of the risks</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, 11 Sep 2018 at 11:07 James Adam <<a href="mailto:james@lazyatom.com" target="_blank" class="">james@lazyatom.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">On 11 Sep 2018, at 10:07, Samuel Joseph <<a href="mailto:tansaku@gmail.com" target="_blank" class="">tansaku@gmail.com</a>> wrote:<br class=""></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><blockquote type="cite" class=""><br class="m_-4388816819597740202m_-2546526929251259078Apple-interchange-newline"><div class=""><div class="">I have two concerns<br class=""><br class="">1) new developers onboarding often get snarled up in the caching and the files generated<br class=""></div></div></blockquote><div class=""><br class=""></div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class="">I tend to consider the generated YAML files as black boxes — it’s hard to predict their contents or make much sense of them until you’re quite experienced.</div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="">2) the cached recordings are gradually getting further and further out of date - could we automate their refreshing?<br class=""></div></div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""></div><br class=""><div class="">VCR _can_ be configured to automatically re-record after a fixed period of time, would that help? <a href="https://relishapp.com/vcr/vcr/v/3-0-3/docs/cassettes/automatic-re-recording" target="_blank" class="">https://relishapp.com/vcr/vcr/v/3-0-3/docs/cassettes/automatic-re-recording</a></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""></div><div class="">— James</div></div>_______________________________________________<br class="">
Chat mailing list<br class="">
<a href="mailto:Chat@lists.lrug.org" target="_blank" class="">Chat@lists.lrug.org</a><br class="">
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/pipermail/chat-lrug.org</a><br class="">
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br class="">
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br class="">
</blockquote></div>-- <br class=""><div dir="ltr" class="m_-4388816819597740202gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">Kind regards,</div><div class=""><br class=""></div>Toby Privett<div class="">--------------</div><div class=""><div class=""><a href="http://snaplab.co.uk/" target="_blank" class="">http://snaplab.co.uk</a></div></div></div></div>
_______________________________________________<br class="">
Chat mailing list<br class="">
<a href="mailto:Chat@lists.lrug.org" target="_blank" class="">Chat@lists.lrug.org</a><br class="">
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/pipermail/chat-lrug.org</a><br class="">
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br class="">
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank" class="">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br class="">
</blockquote></div>
_______________________________________________<br class="">Chat mailing list<br class=""><a href="mailto:Chat@lists.lrug.org" class="">Chat@lists.lrug.org</a><br class="">Archives: http://lists.lrug.org/pipermail/chat-lrug.org<br class="">Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org<br class="">List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org<br class=""></div></blockquote></div><br class=""></div></body></html>