summaryrefslogtreecommitdiff
path: root/doc/forum/propellor_--add-key_fails.mdwn
diff options
context:
space:
mode:
authorpelle@ba198ff1d4d5d5f4a0940522e68695a99a1ce0ee2015-10-04 08:58:01 +0000
committeradmin2015-10-04 08:58:01 +0000
commita399c468c6dd69d4f1d76934de9cf894f3c85ded (patch)
treed7de58f8838f0cf6d67e68cd3a9ef844b8adb3d8 /doc/forum/propellor_--add-key_fails.mdwn
parent20620a59b0d5361ce008272bb3fa4f12b798922a (diff)
add debug mode output
Diffstat (limited to 'doc/forum/propellor_--add-key_fails.mdwn')
-rw-r--r--doc/forum/propellor_--add-key_fails.mdwn37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/forum/propellor_--add-key_fails.mdwn b/doc/forum/propellor_--add-key_fails.mdwn
index 8ed4a871..8b42cc5a 100644
--- a/doc/forum/propellor_--add-key_fails.mdwn
+++ b/doc/forum/propellor_--add-key_fails.mdwn
@@ -25,3 +25,40 @@ committing changes ... failed
```
Simply running `git commit -S` afterwards seems to work though.
+
+Debug mode output:
+
+```
+olpe4718@admin:~$ PROPELLOR_DEBUG=1 propellor --add-key CD9BFD10
+Building propellor-2.8.0...
+Preprocessing library propellor-2.8.0...
+In-place registering propellor-2.8.0...
+Preprocessing executable 'propellor' for propellor-2.8.0...
+Preprocessing executable 'propellor-config' for propellor-2.8.0...
+Propellor build ... done
+
+
+[2015-10-04 10:55:50 CEST] command line: AddKey "CD9BFD10"
+[2015-10-04 10:55:50 CEST] call: sh ["-c","gpg --export CD9BFD10 | gpg --options /dev/null --no-default-keyring --keyring privdata/keyring.gpg --import"]
+gpg: privdata/keyring.gpg: nyckelring skapad
+gpg: nyckel CD9BFD10: publika nyckeln "Per Olofsson (DSV) <pelle@dsv.su.se>" importerades
+gpg: Totalt antal behandlade enheter: 1
+gpg: importerade: 1 (RSA: 1)
+[2015-10-04 10:55:50 CEST] process done ExitSuccess
+adding key to propellor's keyring ... done
+[2015-10-04 10:55:50 CEST] call: git ["add","privdata/keyring.gpg"]
+[2015-10-04 10:55:50 CEST] process done ExitSuccess
+staging propellor's keyring ... done
+updating encryption of any privdata ... done
+[2015-10-04 10:55:50 CEST] read: gpg ["--list-secret-keys","CD9BFD10"]
+[2015-10-04 10:55:50 CEST] process done ExitSuccess
+[2015-10-04 10:55:50 CEST] call: git ["config","user.signingkey","CD9BFD10"]
+[2015-10-04 10:55:50 CEST] process done ExitSuccess
+configuring git commit signing to use key ... done
+[2015-10-04 10:55:50 CEST] call: git ["commit","privdata/keyring.gpg","privdata/privdata.gpg","-m","propellor add-key","--gpg-sign"]
+error: pathspec 'privdata/privdata.gpg' did not match any file(s) known to git.
+[2015-10-04 10:55:50 CEST] process done ExitFailure 1
+committing changes ... failed
+```
+
+Seems that it tries to check in privdata.gpg which does not exist yet.