Editing QTPass Guide

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 22: Line 22:
Install using Chocolatey (package manager):
Install using Chocolatey (package manager):
* Install Chocolatey package manager:
* Install Chocolatey package manager:
https://chocolatey.org/install
** https://chocolatey.org/install
* Install QTPass package:
* Install QTPass package:
<code>>choco install qtpass</code>
** <code>>choco install qtpass</code>


Configure git
Configure git
Line 31: Line 31:
Configure GPG
Configure GPG
* TODO Kleopatra setup
* TODO Kleopatra setup
* Verify by listing installed keys
<code> >gpg --list-keys </code>


Configure QTPass
Configure QTPass
* The settings window is opened by clicking on the slider icon at the top of the main window.
* Set path to Git executable
* Set path to Git executable
<code>C:/Program Files/Git/bin/git.exe</code>
* Set path to GPG executable
* Set path to GPG executable
<code>C:/Program Files (x86)/GnuPG/bin/gpg.exe</code>
TODO
* Set path to PWGen executable
<code>C:/Program Files (x86)/PWGen/PWGen.exe</code>
TODO: Figure out how to make PWGen work.
* Set key to use, the window to do this is opened by clicking on the person sillouette icon at the top of the main window.
* Create a profile in the settings window "Profiles" tab.
* (If needed) Initialize the git repo at the storage location:
<code>> git init C:\Users\Me\password-store</code>




=== Testing QTPass ===
=== Testing QTPass ===
TODO
TODO
* Create a test entry in a test folder
Create a test entry in a test folder
TODO
* TODO


* Read back test entry
Read back test entry
TODO
* TODO


=== Using a smartcard ===
=== Using a smartcard ===
* TODO yubikey 5 smartcard
TODO yubikey 5 smartcard


=== Using QTPass ===
=== Using QTPass ===
Line 75: Line 64:


* Tools for mass-import
* Tools for mass-import
TODO


* Manual import
* Manual import
TODO
 




Line 85: Line 73:
==== "could not read encryption key to use, .gpg-id file missing or invalid." ====
==== "could not read encryption key to use, .gpg-id file missing or invalid." ====
* Tracing error cause:
* Tracing error cause:
** Message originates in either of these two functions:
<br>Message originates in either of these two functions:
"void ImitatePass::Insert(QString file, QString newValue, bool overwrite) {"
<br>"void ImitatePass::Insert(QString file, QString newValue, bool overwrite) {"
https://github.com/IJHack/QtPass/blob/8f2b87b36bd74f1c104653bf22150185125c365c/src/imitatepass.cpp#L95
<br>https://github.com/IJHack/QtPass/blob/8f2b87b36bd74f1c104653bf22150185125c365c/src/imitatepass.cpp#L95
or
<br>or
"void ImitatePass::reencryptPath(const QString &dir) {"
<br>"void ImitatePass::reencryptPath(const QString &dir) {"
https://github.com/IJHack/QtPass/blob/8f2b87b36bd74f1c104653bf22150185125c365c/src/imitatepass.cpp#L298
<br>https://github.com/IJHack/QtPass/blob/8f2b87b36bd74f1c104653bf22150185125c365c/src/imitatepass.cpp#L298
* Resolution:
TODO
 
 
==== "fatal: not a git repository (or any of the parent directories): .git" ====
* Error message:
"fatal: not a git repository (or any of the parent directories): .git"
* Tracing error cause:


* Resolution: TODO
* Resolution: TODO
Manually initializing a git repo in the new password store location fixes this.
In folder of password storage:
<code> > git init . </code>




==== "fatal: not a git repository (or any of the parent directories): .git" ====
==== "fatal: not a git repository (or any of the parent directories): .git" ====
* Symptoms:
After enabling the use of PWGen for password creation, attempting to create a password results in PWGen opening with an error message followed by possible crash of QTPass.
* Error message:
PWGen encountered 1 error(s) during startup:
1) Unknown command line switch(es):
"-1"; "--secure"; "--capitalize"; "--numerals".
* Tracing error cause:
* Tracing error cause:
PWGen probably changed how it accepts arguments?
* Resolution:
TODO


* Resolution: TODO


=== Handy seeming links ===
=== Handy seeming links ===
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)