<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Security on trash ∙ a blog</title>
    <link>https://tttrash.xyz/tags/security/</link>
    <description>Recent content in Security on trash ∙ a blog</description>
    <image>
      <title>trash ∙ a blog</title>
      <url>https://tttrash.xyz/papermod-cover.png</url>
      <link>https://tttrash.xyz/papermod-cover.png</link>
    </image>
    <generator>Hugo -- 0.154.5</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 30 Nov 2026 03:20:34 +0000</lastBuildDate>
    <atom:link href="https://tttrash.xyz/tags/security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Why I Believe Everyone Should Use 2FA</title>
      <link>https://tttrash.xyz/2020/08/why-i-believe-everyone-should-use-2fa/</link>
      <pubDate>Wed, 26 Aug 2020 00:00:00 +0000</pubDate>
      <guid>https://tttrash.xyz/2020/08/why-i-believe-everyone-should-use-2fa/</guid>
      <description>&lt;p&gt;I never really figured out what I wanted to do with this blog, but I have decided that it&amp;rsquo;s going to be a place for me to write about whatever I feel is important to me at the moment. If you haven&amp;rsquo;t figured it out yet, I really value privacy and security. I believe that it is a basic human right and everyone should take it seriously. I&amp;rsquo;ve already written a post about the &lt;a href=&#34;https://blog.trashcat.xyz/2019/12/my-password-manager-gopass-pt.-ii/&#34;&gt;password manager&lt;/a&gt; that I use so I figured I&amp;rsquo;d kind of build on to that subject with which 2FA app I used and why. I&amp;rsquo;ll also explain what 2FA is and why it&amp;rsquo;s important.&lt;/p&gt;
&lt;h2 id=&#34;what-is-two-factor-authentication&#34;&gt;What Is Two-Factor Authentication&lt;/h2&gt;
&lt;p&gt;Chance, what even is Two-Factor Authentication (2FA)? Well reader, let me tell you. Two-Factor Authentication is a way to add an extra level of security to your account. Think of it this way, when you use your debit or credit card to pay for something in a shop you first have to slide your card into the chip reader. After that you have to enter your pin. This is actually a form of 2FA. You probably didn&amp;rsquo;t even realize it since you are so used to doing it. The first  factor is that you are physically in possession of the card. The second factor is that you know the correct pin for said card. Entering the pin verifies that you are the owner of the card and you have authorization to be using it. 2FA works the same way.&lt;/p&gt;
&lt;p&gt;When you log-in using only your username and password, that&amp;rsquo;s a single factor. Most self-respecting institutions offer at least some sort of 2FA (I&amp;rsquo;m looking at you Spotify :rolls_eyes:), whether that is a code sent to your email address or to your phone via SMS, or an Authenticator app on your phone. This code add the second factor into the equation.&lt;/p&gt;
&lt;h2 id=&#34;so-why-should-i-use-2fa&#34;&gt;So, Why Should I Use 2FA&lt;/h2&gt;
&lt;p&gt;Well, it&amp;rsquo;s just an extra way to help keep your accounts safe online.  Setting up 2FA adds an extra step in logging into your account, meaning that a hacker would need to have both your username and password, as well as your 2FA code sent to your device. This just makes it more inconvenient to compromise the account. It&amp;rsquo;s not a perfect solution, but it&amp;rsquo;s better than nothing.&lt;/p&gt;
&lt;h2 id=&#34;should-i-use-email-sms-or-an-authenticator-app&#34;&gt;Should I Use Email, SMS, or an Authenticator App&lt;/h2&gt;
&lt;p&gt;Now, I would recommend &lt;strong&gt;NEVER&lt;/strong&gt; using the email option if you can avoid it. In my opinion it&amp;rsquo;s just way too easy for an attacker to get into email accounts. Too many people reuse passwords for multiple accounts so, at least to me, it&amp;rsquo;s not even worth sending the code to email.&lt;/p&gt;
&lt;p&gt;Another option is to have the code sent to your phone via an SMS text message.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Now, I should note that these codes are are One-Time PINs, or OTP, meaning that as soon as they are used (or expire) they are no longer able to be used again. This makes them just a little bit more secure as they can not be reused.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is better than having the code sent to your email, but only slightly. A hacker could potentially hijack the message or even call your carrier and get your number ported to a new SIM card that they own. I know that sounds kind of crazy, but it&amp;rsquo;s not really a risk I&amp;rsquo;m willing to take.&lt;/p&gt;
&lt;p&gt;So, then I should use an app? Yeah, probably. This is my preferred method as the hacker would have to physically have my phone. I only have one authenticator app&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; and it only lives on my phone. This makes it harder to hijack the code since it&amp;rsquo;s only living on my phone. Most websites will show you a QR code when setting up 2FA. You will scan the QR code with your preferred app and enter the generated OTP back on the website. There are a few popular 2FA/OTP apps. &lt;a href=&#34;https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&amp;amp;hl=en&#34;&gt;Google Authenticator&lt;/a&gt; and &lt;a href=&#34;https://authy.com/&#34;&gt;Authy&lt;/a&gt; seem to be the two big ones at the moment. I have used both in the past but have since moved to my current favorite, &lt;a href=&#34;https://getaegis.app/&#34;&gt;Aegis&lt;/a&gt;. I like Aegis because it&amp;rsquo;s open-source, it&amp;rsquo;s not owned by Google, it&amp;rsquo;s encrypted, and it&amp;rsquo;s simple to use. It even offers (for rooted devices) a way to import OTP codes from a different app. I was able to successfully import from the official Steam app but haven&amp;rsquo;t been able to get any others to work. I had to do some &lt;a href=&#34;https://github.com/puddly/android-otp-extractor&#34;&gt;hackery&lt;/a&gt; to get my Twitch OTP code out of Authy and into Aegis but it wasn&amp;rsquo;t too hard.&lt;/p&gt;
&lt;p&gt;My one complaint with Aegis is that it doesn&amp;rsquo;t have any baked in icons for any services or websites. Luckily github user krisu5 made a &lt;a href=&#34;https://github.com/krisu5/aegis-icons&#34;&gt;beautiful collection&lt;/a&gt; of icons to use.&lt;/p&gt;
&lt;p&gt;For even another bit of added security you can pick up a hardware key. I personally have a &lt;a href=&#34;https://www.yubico.com/product/yubikey-5-nfc&#34;&gt;Yubikey 5&lt;/a&gt; that I use. It&amp;rsquo;s just another layer of security that I always have on me. I just plug it in to or tap it on whatever I&amp;rsquo;m trying to authenticate and I&amp;rsquo;m in. I like the physical aspect of it. That way if I lose my phone or forget to back up my Aegis library before resetting my phone (this has happened far too many times) I know I&amp;rsquo;ll still be able to get in. Unfortunately not all services are set up to accept a hardware key, but I make sure to use it on all the services that do allow it.&lt;/p&gt;
&lt;h2 id=&#34;this-sounds-like-a-lot-of-work&#34;&gt;This Sounds Like A Lot of Work&lt;/h2&gt;
&lt;p&gt;I mean, it&amp;rsquo;s pretty easy to set up and it&amp;rsquo;s only gotten easier over the years. Most websites&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; have made it pretty easy to setup 2FA on your account, and the minor inconvenience of having to copy and paste/type a short code after entering your password seems like a pretty fair trade off for an extra layer of security. I&amp;rsquo;m not here to walk you through how to set it up, if you&amp;rsquo;d like a tutorial almost all services have a &lt;a href=&#34;https://duckduckgo.com/?q=setting&amp;#43;up&amp;#43;2fa&amp;amp;ia=web&#34;&gt;support page&lt;/a&gt; to walk users through setting it up. I&amp;rsquo;m just here to tell you why I believe that everyone should be using it. Like I said, I&amp;rsquo;m just adding my thoughts on internet security and why I believe it&amp;rsquo;s so important.&lt;/p&gt;
&lt;h2 id=&#34;in-conclusion&#34;&gt;In Conclusion&lt;/h2&gt;
&lt;p&gt;Online security is important and we should be doing everything possible to make it as hard and annoying as possible to keep would-be attackers out of our accounts. A good way to think about it is the same as protecting your home. You wouldn&amp;rsquo;t want to leave the door unprotected, so you get a lock. This is like a password. If you don&amp;rsquo;t feel like this is enough then maybe you get a security system or a dog. Added layers of protection deter criminals from trying to get into your house. The same can be said for your online accounts.&lt;/p&gt;
&lt;p&gt;If I&amp;rsquo;ve left anything out, or gotten any information wrong, feel free to contact me so that I may correct it, or add it, to this entry. I want to make sure that all my information is accurate and helpful for whoever may come across it. You can leave a comment below. :D&lt;/p&gt;
&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;p&gt;Well, I try to only have one app. Some services require me to use their specific authenticator app. Stoopid Blizzard and Micro$oft.&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&#34;fn:2&#34;&gt;
&lt;p&gt;Seriously Spotify get it together. You haven&amp;rsquo;t addressed this since &lt;a href=&#34;https://community.spotify.com/t5/Live-Ideas/Security-2-Factor-Authentication/idi-p/1017889&#34;&gt;2018&lt;/a&gt; and even then it took 3 years for you to mark it as &amp;ldquo;in consideration&amp;rdquo;. I don&amp;rsquo;t think it&amp;rsquo;s too much to ask for 2FA in 2020. Also, this year your support team directed me to the very same &lt;a href=&#34;https://twitter.com/SpotifyCares/status/1235998550544265216&#34;&gt;issue&lt;/a&gt; from 2015 and then only saying that they would &amp;ldquo;pass on my feedback to the &amp;lsquo;relevant team&amp;rsquo;&amp;rdquo;. At this point it&amp;rsquo;s just absurd that this hasn&amp;rsquo;t been implemented.&amp;#160;&lt;a href=&#34;#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description>
    </item>
    <item>
      <title>My Password Manager - gopass Pt. II</title>
      <link>https://tttrash.xyz/2019/12/my-password-manager-gopass-pt.-ii/</link>
      <pubDate>Tue, 10 Dec 2019 22:30:57 -0500</pubDate>
      <guid>https://tttrash.xyz/2019/12/my-password-manager-gopass-pt.-ii/</guid>
      <description>&lt;p&gt;Okay. So in my last post I completely neglected to talk about the features of &lt;code&gt;gopass&lt;/code&gt; and what really made me choose it. I can&amp;rsquo;t believe I just forgot to talk about what the post was supposed to be about. Derp. So I&amp;rsquo;m going to make that up with this post.&lt;/p&gt;
&lt;h1 id=&#34;why-i-use-gopass&#34;&gt;Why I use gopass&lt;/h1&gt;
&lt;p&gt;In the last post I really only talked about the fact that I didn&amp;rsquo;t like some company potentially having access to my data. While that is the main reason I decided to switch from Bitwarden, it&amp;rsquo;s not the only reason. I like the simplicity of being able to quickly find and copy my passwords from the command line. Now, I don&amp;rsquo;t do that too often because I use the browser extensions, it&amp;rsquo;s still quick and handy when I need it.&lt;/p&gt;
&lt;h3 id=&#34;editing&#34;&gt;Editing&lt;/h3&gt;
&lt;p&gt;I also like how quick it is to edit and generate new passwords. In the command line, if I want to edit a password I&amp;rsquo;ll type something like:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;trashcat@bulbasaur:&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: gopass edit entertainment/libre.fm
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and it will open the file in Vim and I can quickly make changes to the file like adding the login name and URL.&lt;/p&gt;
&lt;h3 id=&#34;search&#34;&gt;Search&lt;/h3&gt;
&lt;p&gt;gopass also has a nice search feature built in just in case I have multiple logins in the same category or something.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;┌───────────────────────────────────────────────────────────────────────────────┐
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│gopass                                                                         │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│Found secrets - Please &lt;span style=&#34;color:#66d9ef&#34;&gt;select&lt;/span&gt; an entry                                         │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;└───────────────────────────────────────────────────────────────────────────────┘
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; git/gitlab.com/trashcat
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; git/gitlab.com/sm0ggles
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;┌───────────────────────────────────────────────────────────────────────────────────────────────────────┐
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│&amp;lt;↑/↓&amp;gt; to change the selection, &amp;lt;→&amp;gt; to show, &amp;lt;←&amp;gt; to copy, &amp;lt;s&amp;gt; to sync, &amp;lt;e&amp;gt; to edit, &amp;lt;ESC&amp;gt; to quit       │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;└───────────────────────────────────────────────────────────────────────────────────────────────────────┘
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;auto-complete&#34;&gt;Auto Complete&lt;/h3&gt;
&lt;p&gt;Another feature I really like is it&amp;rsquo;s auto complete. If I start typing a command like &lt;code&gt;gopass show fin&lt;/code&gt; I can then press tab and it will auto complete to &lt;code&gt;gopass show finance&lt;/code&gt; and if I press tab again, it&amp;rsquo;ll start going through my different finance accounts until I find the one I want and press Enter. After pressing Enter it&amp;rsquo;ll show me all the info stored in the file for whatever login I selected.&lt;/p&gt;
&lt;h3 id=&#34;copying-to-clipboard&#34;&gt;Copying to Clipboard&lt;/h3&gt;
&lt;p&gt;If I send a command using the &lt;code&gt;--copy&lt;/code&gt; or &lt;code&gt;-c&lt;/code&gt; argument, it will copy the first line of the file which should always be the password. So if, for example, I type &lt;code&gt;gopass -c social/twitter.com&lt;/code&gt; it will copy my Twitter password to my clipboard and automatically clear in after 45 seconds.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;trashcat@bulbasaur:&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: gopass -c social/twitter.com
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;✔ Copied social/twitter.com to clipboard. Will clear in &lt;span style=&#34;color:#ae81ff&#34;&gt;45&lt;/span&gt; seconds.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;search-for-exact-match&#34;&gt;Search for Exact Match&lt;/h3&gt;
&lt;p&gt;It also tries to guess which account you meant if you don&amp;rsquo;t type it 100% correctly. Which is very helpful for me because of the file structure that I have set up. The way I currently have my Reddit file set up is &lt;code&gt;social/reddit.com/&amp;lt;username&amp;gt;&lt;/code&gt;. (I really need to change this, but I digress). If I were to just type &lt;code&gt;gopass -c reddit&lt;/code&gt; gopass would return something like the following&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;trashcat@bulbasaur:&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: gopass -c reddit
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Entry &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;reddit&amp;#39;&lt;/span&gt; not found. Starting search...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Found exact match in &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;social/reddit.com/&amp;lt;username&amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;✔ Copied social/reddit.com/&amp;lt;username&amp;gt; to clipboard. Will clear in &lt;span style=&#34;color:#ae81ff&#34;&gt;45&lt;/span&gt; seconds.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I really enjoy that feature because I don&amp;rsquo;t always remember what I called the file and this way I don&amp;rsquo;t have to.&lt;/p&gt;
&lt;h3 id=&#34;otp-support&#34;&gt;OTP Support&lt;/h3&gt;
&lt;p&gt;So this is a feature that I&amp;rsquo;m not entirely sure if I want to use yet or not. I kind of like the idea of having my passwords and my OTP tokens in the same spot, but what I don&amp;rsquo;t like is that I already have all my OTP tokens in &lt;a href=&#34;https://github.com/andOTP/andOTP&#34;&gt;andOTP&lt;/a&gt; and it seems annoying to change it. Now, this isn&amp;rsquo;t a shortcoming of &lt;code&gt;gopass&lt;/code&gt; but more of me just being lazy or stubborn. I&amp;rsquo;m also not in love with the Android Password Store app and I wish someone would make a better app. So for now I&amp;rsquo;ll probably stick with andOTP for my 2FA needs and just use gopass/Android Password Store for my passwords. Maybe if the app gets better in the future I&amp;rsquo;ll switch stuff over but for now I&amp;rsquo;ll stick with what I got.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s also a little bit annoying to add the OTP stuff. You have to get the otpauth:// URL and website&amp;rsquo;s don&amp;rsquo;t always make that easy to find. I have set up one account with gopass&amp;rsquo;s OTP support just as a test and I had to use something like &lt;a href=&#34;http://zbar.sourceforge.net/&#34;&gt;zbar&lt;/a&gt; to use my computer&amp;rsquo;s webcam to scan the QR code given by the site. Too much of a hassle for me.&lt;/p&gt;
&lt;p&gt;But nevertheless, it&amp;rsquo;s still a nice feature.&lt;/p&gt;
&lt;h3 id=&#34;auto-sync&#34;&gt;Auto-Sync&lt;/h3&gt;
&lt;p&gt;This is a feature that some people may hate, but I love. I&amp;rsquo;m lazy. I don&amp;rsquo;t always want to type all the commands to send my passwords to the git repo that I store them in. Luckily gopass has an auto-sync setting in the &lt;code&gt;.conf&lt;/code&gt; file that will automatically perform a &lt;code&gt;git pull&lt;/code&gt; and &lt;code&gt;git push&lt;/code&gt; whenever a file is changed. Now I don&amp;rsquo;t have to worry about making sure my new password will be available on my other devices.&lt;/p&gt;
&lt;h3 id=&#34;password-audit&#34;&gt;Password Audit&lt;/h3&gt;
&lt;p&gt;Another cool feature is the &lt;em&gt;password audit&lt;/em&gt;. I actually really like this tool. It can check your passwords and tell you if they are too short, are in the dictionary, or if they are slightly changed but still a word (ex. N3tfl1x).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;trashcat@bulbasaur:&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: gopass audit
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;gopass also has the ability to check if any of your passwords have been leaked in any data breaches using the &lt;a href=&#34;https://haveibeenpwned.com/&#34;&gt;Have I Been Pwnd&lt;/a&gt; api.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;trashcat@bulbasaur:&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: gopass audit hibp --api
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;This command is checking all your secrets against the haveibeenpwned.com API.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;This will send five bytes of each passwords SHA1 hash to an untrusted server!
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;You will be asked to unlock all your secrets!
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Do you want to &lt;span style=&#34;color:#66d9ef&#34;&gt;continue&lt;/span&gt;? &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;y/N/q&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;: y
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Computing SHA1 hashes of all your secrets ...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;67&lt;/span&gt; of &lt;span style=&#34;color:#ae81ff&#34;&gt;67&lt;/span&gt; secrets computed                         &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;###########################################] 100.00%&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Checking pre-computed SHA1 hashes against the HIBP API ...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Good news - No matches found!
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;So far these are the features I use the most. There are some other features, such as &lt;a href=&#34;https://github.com/gopasspw/gopass/blob/master/docs/features.md#multiple-stores&#34;&gt;Multiple Stores&lt;/a&gt;, and &lt;a href=&#34;https://github.com/gopasspw/gopass/blob/master/docs/features.md#managing-recipients&#34;&gt;Password Sharing&lt;/a&gt;, but so far I only use the features listed above. So far I&amp;rsquo;ve been happy with &lt;code&gt;gopass&lt;/code&gt;. I&amp;rsquo;ve had a few GPG related issues but I&amp;rsquo;ve seem to have ironed them out.&lt;/p&gt;
&lt;p&gt;I also plan on getting my YubiKey to play nicely with &lt;code&gt;pass&lt;/code&gt;. I&amp;rsquo;ve gotten it running but ideally I&amp;rsquo;d like it to be quicker. I might just stick with the pass phrase for now. We will see.&lt;/p&gt;
&lt;p&gt;But that&amp;rsquo;s why I&amp;rsquo;ve chosen &lt;code&gt;gopass&lt;/code&gt; as my password manager. I&amp;rsquo;m happy with how simple it is. I&amp;rsquo;m happy with how secure it is. I&amp;rsquo;m happy with how much control I have over it. It does what I need it to do and that&amp;rsquo;s all I can really ask for.&lt;/p&gt;
&lt;p&gt;As always, feel free to leave a comment below, or contact me on any of the social media links at the top of every page as well as on &lt;a href=&#34;https://linuxrocks.online/@sm0g&#34;&gt;Mastodon&lt;/a&gt;, or via &lt;a href=&#34;xmpp:sm0g@linuxrocks.online?message&#34;&gt;XMPP&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>My Password Manager - gopass</title>
      <link>https://tttrash.xyz/2019/11/my-password-manager-gopass/</link>
      <pubDate>Sat, 07 Dec 2019 00:00:00 +0000</pubDate>
      <guid>https://tttrash.xyz/2019/11/my-password-manager-gopass/</guid>
      <description>&lt;p&gt;In our digital lives we create a lot of accounts &amp;ndash; and with these accounts come a lot of passwords. If you are like me, then you want to keep these accounts safe. I used to be the kind of person that used one password for &lt;strong&gt;every single account&lt;/strong&gt;. I didn&amp;rsquo;t know any better. I didn&amp;rsquo;t know how terrible of a place the internet could be.&lt;/p&gt;
&lt;p&gt;When I was younger I didn&amp;rsquo;t really have anything on the internet that was of value to anyone else. But then I started making my own money. And with my own money came my own debit card. And with my own debit card came making purchases online.&lt;/p&gt;
&lt;p&gt;So now my debit card and bank information is online. I still think nothing of this. I&amp;rsquo;m a stupid, young kid. Why should I care? But then I started hearing about all these different data breaches. I start hearing about how people&amp;rsquo;s information is being stolen and I start reading about password managers.&lt;/p&gt;
&lt;p&gt;For those of you who don&amp;rsquo;t know, a password manager is a service or app that stores all your online passwords for you so that you don&amp;rsquo;t need to remember them all. But what I believe is most important is that a lot of these password managers have the ability to generate random passwords for all your different accounts. This is super important! Now you have &lt;em&gt;no&lt;/em&gt; excuse for using the same password over and over, again and again.&lt;/p&gt;
&lt;h3 id=&#34;my-password-manager-journey&#34;&gt;My Password Manager Journey&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve used many different password managers over the years. I started off with &lt;a href=&#34;https://1password.com/&#34;&gt;1password&lt;/a&gt; becasue it (at the time) was geared more towards Mac and iPhone users. I liked it, but the applications weren&amp;rsquo;t free. But it got my toes wet in the world of password managers. I used it for a few years but eventually switched over to &lt;a href=&#34;https://www.lastpass.com/&#34;&gt;LastPass&lt;/a&gt;. I liked that LastPass had free apps and browser extensions, and I eventually got a job working for a company that gave all of the employees Premium accounts. So that was great! Until I left the company and they immediately deleted my account (which had the pass phrase to my BitCoin wallet. Now all that BitCoin is forever lost). I still used the normal version of LastPass for a while after that, until I started to become really interested in &lt;a href=&#34;https://en.wikipedia.org/wiki/Open-source_software&#34;&gt;Open-Source Software&lt;/a&gt;. I wanted a password manager that was free and open-source. That way I could know if there was anything fishy going on in the software, and I just like the idea of open-source. That&amp;rsquo;s when I discovered &lt;a href=&#34;https://bitwarden.com/&#34;&gt;Bitwarden&lt;/a&gt;. I personally love Bitwarden. It&amp;rsquo;s open-source. It&amp;rsquo;s completely free. It has really nice apps and mobile support. It&amp;rsquo;s encrypted. It syncs between devices. It has really nice autofill with Android. I&amp;rsquo;m still a really big fan, and if I were to recommend a password manager for the &amp;ldquo;normal&amp;rdquo; non-nerdy person, I would 100% recommend Bitwarden. But this post isn&amp;rsquo;t about. This post is about what I&amp;rsquo;m currently using. And what I&amp;rsquo;m currently using is &lt;a href=&#34;https://www.gopass.pw/&#34;&gt;gopass&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;what-is-gopass&#34;&gt;What is gopass?&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;m glad you asked!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gopass is a simple but powerful password manager for your terminal.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Gopass is a rewrite of &lt;a href=&#34;https://www.passwordstore.org/&#34;&gt;pass&lt;/a&gt;, the &lt;em&gt;standard unix password manager&lt;/em&gt;, but written in the programming language &lt;a href=&#34;https://golang.org/&#34;&gt;go&lt;/a&gt;. The below quote from the &lt;code&gt;pass&lt;/code&gt; website sums up the philosophy of both &lt;code&gt;pass&lt;/code&gt; and gopass:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Password management should be simple and follow Unix philosophy. With pass, each secret lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the secret. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;gopass is basically &lt;code&gt;pass&lt;/code&gt; but with some extra features. I&amp;rsquo;m just going to paste the table from the gopass website below showing the comparison between &lt;code&gt;pass&lt;/code&gt; and gopass.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;em&gt;pass&lt;/em&gt;&lt;/th&gt;
          &lt;th&gt;&lt;em&gt;gopass&lt;/em&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;State&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Secure secret storage&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;stable&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Securely storing secrets encrypted with GPG&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Recipient management&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Easily manage multiple users of each store&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Multiple stores&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Mount multiple stores in your root store, like file systems&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;password quality assistance&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Checks existing or new passwords for common flaws&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Binary support&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;alpha&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Special handling of binary files (automatic Base64 encoding)&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;K/V and YAML support&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;alpha&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Special handling for Key/Value and YAML content in secrets&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;password leak checker&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;alpha&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Perform &lt;strong&gt;offline&lt;/strong&gt; checks against known leaked passwords&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;PAGER support&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;stable&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Automatically invoke a pager on long output&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;JSON API&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;stable&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Allow gopass to be used as a native extension for browser plugins&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Automatic fuzzy search&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;stable&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Automatically search for matching store entries if a literal entry was not found&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;gopass sync&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Easy to use syncing of remote repos and GPG keys&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Desktop Notifications&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Display desktop notifications and completing long running operations&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;OTP support&lt;/td&gt;
          &lt;td&gt;(✔)&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;stable&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Generate HOTP/TOTP tokens based on the stored secret&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Multiple Crypto Backends&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;alpha&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Extensible crypto backend support (GPG, NaCl)&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Editing Recipients per Secret&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;&lt;em&gt;beta&lt;/em&gt;&lt;/td&gt;
          &lt;td&gt;Select recipients per secret when encrypting&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Extensions&lt;/td&gt;
          &lt;td&gt;✔&lt;/td&gt;
          &lt;td&gt;❌&lt;/td&gt;
          &lt;td&gt;&lt;/td&gt;
          &lt;td&gt;Extend gopass with custom commands&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Now, if I like Bitwarden so much, why did I switch to gopass?&lt;/p&gt;
&lt;p&gt;Well, I&amp;rsquo;m a big dork. I like nerdy things. I like things that make me feel like a &lt;em&gt;H4X0RM4N&lt;/em&gt;. With that extream nerdyness comes my love of Linux and the Linux Terminal. I like command line interfaces becasue they look hella nerdy and fun. I don&amp;rsquo;t know. I&amp;rsquo;m just a dork, okay?&lt;/p&gt;
&lt;p&gt;But the main reason was that I don&amp;rsquo;t really &lt;em&gt;love&lt;/em&gt; the idea of some company having control of all my passwords. Now I know that all of the passwords I saved to Bitwarden are encrypted and they probably aren&amp;rsquo;t able to look at them whenever they want. But I wasn&amp;rsquo;t 100% sure. With gopass I am 100% sure, because it uses my own personal gpg keys. No one else has these keys. They live soley on my computer and phone and nowhere else. I am in complete control. All of my passwords are saved in their own file. They can be sorted by directory and they live on my computer. &amp;ldquo;But Chance, don&amp;rsquo;t you no longer have sync capabilities since the &lt;a href=&#34;https://www.youtube.com/watch?v=L_o_O7v1ews&#34;&gt;files are in the computer&lt;/a&gt;?&amp;rdquo; Actually I do! pass and gopass are set up to sync all the encrypted files with a Git repo. I have mine saved to a private GitLab repo. But even if it wasn&amp;rsquo;t private no one would be able to read my passwords since they are all encrypted with my secret gpg key that only I have!&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve only recently started using gopass but I already really like it. It works on all my devices, my Linux laptop, my &lt;a href=&#34;https://qtpass.org/&#34;&gt;Windows&lt;/a&gt; desktop, and my &lt;a href=&#34;https://github.com/android-password-store/Android-Password-Store&#34;&gt;Android Phone&lt;/a&gt;. I will say however, the Android experiance hasn&amp;rsquo;t really been awesome on Android 10. The password-store app doesn&amp;rsquo;t seem to work with the native Autofill that Android Pie(?) introduced. But other that that I like it. The  &lt;a href=&#34;https://github.com/browserpass/browserpass-extension&#34;&gt;browser extension&lt;/a&gt; works perfect with Brave on both Linux and Windows. I think in the future I&amp;rsquo;ll write a &amp;ldquo;how-to&amp;rdquo; style post with what I did to set up gopass on my different devices, but this is just a post about my password manager of choice.&lt;/p&gt;
&lt;p&gt;Hope this has been an interesting read, and if you have any questions, feel free to leave a comment below or contact me on &lt;a href=&#34;https://twitter.com/trashcatt_&#34;&gt;Twitter&lt;/a&gt; or &lt;a href=&#34;xmpp:sm0g@linuxrocks.online?message&#34;&gt;XMPP&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
