Package Guides
/

Passwords

Overview

The `insert` package contains a command `insert:password` @[email protected] for inserting passwords.

Security

Inserting passwords by voice can be very helpful. But we don't want to store plaintext passwords in our settings files for security reasons. VoiceCode has some helpful commands for encrypting and decrypting text.

Make sure the following commands are enabled:

These commands take the current contents of the clipboard and either encrypt or decrypt them. This makes it easy to work with sensitive data in plain text files.

Also make sure the `insert:password` @[email protected] command is enabled.

Adding Passwords

To add passwords into your passwords list, either create a new file like `~/voicecode/settings/passwords.coffee` or if you want all your settings in a single file just add this to `~/voicecode/settings.coffee`

unboundmusic/8b8a16fa0ff04ce33632699d20a265d1

Now go find your password and copy it to the clipboard, or just type it into a file and then cut (`⌘X`) it.

Once the password is in your clipboard, say @encrypt [email protected] Now paste (@[email protected]) the encrypted password into the file (in between the empty single quotes above)

unboundmusic/d83e3bdd04012de759657dcebc84ba7a

Save the file and restart VoiceCode. Now when you say @trassword [email protected] it will decrypt and type the original password.

Sharing Passwords Between Computers

VoiceCode generates a 256bit encryption key stored at `~/.voicecode_key`. Just copy this file to another computer and then you can share your password settings files between computers.

**Important** - obviously, don't ever share your `~/.voicecode_key` with anyone else. Also, if you lose that file there will be no way to ever recover your passwords, so don't just delete it, unless all your passwords are stored in another place as well.