<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Passextract/src, branch v0.4.0</title>
<subtitle>An interface to easily copy login information from Pass</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/'/>
<entry>
<title>Update copyright years</title>
<updated>2018-03-03T17:56:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-03T17:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=b5fb9247c1d8c88cde2ad67331cd89f71836149e'/>
<id>b5fb9247c1d8c88cde2ad67331cd89f71836149e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>When `-i`, replace password with '*'s</title>
<updated>2018-03-03T16:33:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-03T16:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=99fa6cb2210328c8a7ba96e56971788aac5bce27'/>
<id>99fa6cb2210328c8a7ba96e56971788aac5bce27</id>
<content type='text'>
Previously, when the "invisible" flag was activated, we wouldn't print
anything except the "p: " prefix on a password line. This made it
difficult to verify the password, and if you for some reason had
multiple passwords, you wouldn't know which one to pick unless you knew
the order.

This at least gives you a visual cue about your password.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, when the "invisible" flag was activated, we wouldn't print
anything except the "p: " prefix on a password line. This made it
difficult to verify the password, and if you for some reason had
multiple passwords, you wouldn't know which one to pick unless you knew
the order.

This at least gives you a visual cue about your password.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up condition for getting file path from argument</title>
<updated>2018-03-01T22:58:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-01T22:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=9faef460fa13857ca26b4447b9d627bb76e9bbd9'/>
<id>9faef460fa13857ca26b4447b9d627bb76e9bbd9</id>
<content type='text'>
Instead of the convoluted hard-to-read `hide_password &amp;&amp;` nonsense, give
ourselves a way to express the condition in terms of the argument _not_
being one of our accepted options (only `-i`). This ensures that we
either capture the filename in the last argument or use STDIN.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of the convoluted hard-to-read `hide_password &amp;&amp;` nonsense, give
ourselves a way to express the condition in terms of the argument _not_
being one of our accepted options (only `-i`). This ensures that we
either capture the filename in the last argument or use STDIN.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `-i` argument to hide passwords</title>
<updated>2018-03-01T21:10:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-01T21:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=f43eafeab711ea4be4a71c732228b1244466e9b4'/>
<id>f43eafeab711ea4be4a71c732228b1244466e9b4</id>
<content type='text'>
Connect the `-i` argument flag to the renderer. If the arg was passed,
hide passwords, otherwise show them.

Change `args.first()` to `args.get(1)` because the actual first element
is the command executable.

Not happy with the condition I'm using here to grab the password file or
the STDIN `-`. It doesn't read well at all. It all does work, but this
part I want to rewrite to make it easier to read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Connect the `-i` argument flag to the renderer. If the arg was passed,
hide passwords, otherwise show them.

Change `args.first()` to `args.get(1)` because the actual first element
is the command executable.

Not happy with the condition I'm using here to grab the password file or
the STDIN `-`. It doesn't read well at all. It all does work, but this
part I want to rewrite to make it easier to read.
</pre>
</div>
</content>
</entry>
<entry>
<title>Try to match `-i` argument</title>
<updated>2018-03-01T00:32:32+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-01T00:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=43cf870c98c98d2c818178cc4b9d14810a3cc7a9'/>
<id>43cf870c98c98d2c818178cc4b9d14810a3cc7a9</id>
<content type='text'>
Turn on a `hide_password` boolean variable if an `-i` argument is passed
in (haven't tested this yet). This tells us whether the user wants us to
hide the password in the selection interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turn on a `hide_password` boolean variable if an `-i` argument is passed
in (haven't tested this yet). This tells us whether the user wants us to
hide the password in the selection interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make password line invisible</title>
<updated>2018-02-24T14:21:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-02-24T14:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=8c9c211c249b9f2a4616b341e6378177129f3a4e'/>
<id>8c9c211c249b9f2a4616b341e6378177129f3a4e</id>
<content type='text'>
Instead of rendering the password string, hide it while allowing it to
be copied. It is identified by the "p: " prefix, but nothing follows
that.

This allows you to run `passextract` without having to worry about
others peering over your shoulder or about screen capture or recording
hacks.

I'll be adding a command line flag to force you to opt in to this
feature, while keeping the old functionality the same.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of rendering the password string, hide it while allowing it to
be copied. It is identified by the "p: " prefix, but nothing follows
that.

This allows you to run `passextract` without having to worry about
others peering over your shoulder or about screen capture or recording
hacks.

I'll be adding a command line flag to force you to opt in to this
feature, while keeping the old functionality the same.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clear clipboard on quit</title>
<updated>2016-11-14T06:56:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-11-14T06:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=5f24d24ab4054dbcaf47b40736604abdabb32d10'/>
<id>5f24d24ab4054dbcaf47b40736604abdabb32d10</id>
<content type='text'>
The last thing copied from Passextract will stick around in your
clipboard, potentially opening up your password to accidental pasting or
a clipboard exploit.

Pass deals with this in a nice way, by restoring your clipboard back to
what was copied before after a set time delay.

Here that same functionality is more difficult to achieve because the
Clipboard crate can only deal with strings. So if for example you've
copied a file, an image, a program's proprietary type, or some other
binary data, it can't be restored with the Clipboard crate. Pass is able
to do this because it uses the OS X `pbcopy`/`pbpaste` commands under
the hood, which do support binary data. We could do that here I suppose,
but it's easier and cross-platform to leverage a library.

My heavy-handed solution to the problem of clipboard insecurity is to
just overwrite the clipboard with an empty string when Passextract
quits. The solution is not ideal because it doesn't preserve your past
clipboard entry, and it forces you to keep the Passextract menu open
until you paste the copied entry, but it's better than nothing when it
comes to keeping the clipboard secure.

If there's an error writing to the clipboard, Passextract will refuse to
quit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last thing copied from Passextract will stick around in your
clipboard, potentially opening up your password to accidental pasting or
a clipboard exploit.

Pass deals with this in a nice way, by restoring your clipboard back to
what was copied before after a set time delay.

Here that same functionality is more difficult to achieve because the
Clipboard crate can only deal with strings. So if for example you've
copied a file, an image, a program's proprietary type, or some other
binary data, it can't be restored with the Clipboard crate. Pass is able
to do this because it uses the OS X `pbcopy`/`pbpaste` commands under
the hood, which do support binary data. We could do that here I suppose,
but it's easier and cross-platform to leverage a library.

My heavy-handed solution to the problem of clipboard insecurity is to
just overwrite the clipboard with an empty string when Passextract
quits. The solution is not ideal because it doesn't preserve your past
clipboard entry, and it forces you to keep the Passextract menu open
until you paste the copied entry, but it's better than nothing when it
comes to keeping the clipboard secure.

If there's an error writing to the clipboard, Passextract will refuse to
quit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `g` and `G` movements</title>
<updated>2016-08-17T23:42:54+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-17T23:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=7cdc4aab7d142b83cf85cf42de92971874d53fce'/>
<id>7cdc4aab7d142b83cf85cf42de92971874d53fce</id>
<content type='text'>
`g`: moves the selection to the first option
`G`: moves the selection to the last option

This allows for faster selection if there are more than 2–3 options.

Using `g` still allows `gg` to work since doubling the command doesn't
change its meaning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`g`: moves the selection to the first option
`G`: moves the selection to the last option

This allows for faster selection if there are more than 2–3 options.

Using `g` still allows `gg` to work since doubling the command doesn't
change its meaning.
</pre>
</div>
</content>
</entry>
<entry>
<title>strip_key: Fix for values that contain ": "</title>
<updated>2016-08-07T00:43:09+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-07T00:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=874d653d420ea98680dd820f3bdd60afb3931747'/>
<id>874d653d420ea98680dd820f3bdd60afb3931747</id>
<content type='text'>
Values that contained ": " would not be parsed correctly for copying to
the clipboard. If, for example, a password contained ": ", those
characters and any following them wouldn't be copied. This change allows
such passwords to be copied correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Values that contained ": " would not be parsed correctly for copying to
the clipboard. If, for example, a password contained ": ", those
characters and any following them wouldn't be copied. This change allows
such passwords to be copied correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GPLv3+)</title>
<updated>2016-08-06T12:43:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T12:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=01ae017a7dc2c66428c7db28dbf38f6efdbe09ab'/>
<id>01ae017a7dc2c66428c7db28dbf38f6efdbe09ab</id>
<content type='text'>
Also include brief notices in the source files. Not a fan of the huge
blocks of text that the FSF recommends.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also include brief notices in the source files. Not a fan of the huge
blocks of text that the FSF recommends.
</pre>
</div>
</content>
</entry>
</feed>
