Mailinglist Archive: opensuse (389 mails)

< Previous Next >
[opensuse] retroshare gpg certificate
Hello:

I have a retroshare06 problem in an openSUSE 42.2 system.
When I try to generate a new retroshare user the program pops up
this message window:

"Failed to generate new certificate, maybe PGP password is wrong!"

Konsole shows these messages (test is a freshly generated user):

test@linux:~> /usr/bin/RetroShare06
RetroShare:: Successfully installed the SIGPIPE Block
Hashed main executable: 5738f5fdd0447deb1524161a0b5be397df56bbe0
defaultBaseDirectory() = /home/test/.retroshare
pubring file "/home/test/.retroshare/pgp/retroshare_public_keyring.gpg" not foun
d. Creating a void keyring.
Pubring read successfully.
secring file "/home/test/.retroshare/pgp/retroshare_secret_keyring.gpg" not foun
d. Creating a void keyring.
Secring read successfully.
PGPHandler: Successfully read 0 trust packets.
RsAccounts::getAvailableAccounts()
getAvailableAccounts() Skipping Invalid sized dir: pgp
getAvailableAccounts() Skipping Invalid sized dir: TMPCFG
qt5ct: using qt5ct plugin
getAccountIds:
Finding PGPUsers
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such fil
e or directory
PGPHandler::syncDatabase(): can't stat file /home/test/.retroshare/pgp/retroshar
e_public_keyring.gpg. Can't sync public keyring.
PGPHandler::syncDatabase(): can't stat file /home/test/.retroshare/pgp/retroshar
e_public_keyring.gpg. Can't sync public keyring.
PGPHandler::syncDatabase(): can't stat file /home/test/.retroshare/pgp/retroshar
e_public_keyring.gpg. Can't sync public keyring.
PGPHandler::syncDatabase(): can't stat file /home/test/.retroshare/pgp/retroshar
e_public_keyring.gpg. Can't sync public keyring.
PGPHandler::syncDatabase(): can't stat file /home/test/.retroshare/pgp/retroshar
e_public_keyring.gpg. Can't sync public keyring.
Waiting ed->processEvents()
RsAccounts::GeneratePGPCertificate
(WW) Clearing PGP passphrase.
(WW) Caching PGP passphrase.
GenCertDialog::genPerson() Generating SSL cert with gpg id : 0000000000000000
RsAccounts::GenerateSSLCertificate
AuthGPG::GPGInit() called with own gpg id : 0000000000000000
Invalid Certificate
updateOwnSignatureFlag: key with id=0000000000000000 not in keyring.
AuthGPG::GPGInit finished.
PGP Auth Success! ID: 0000000000000000
Checking For Directories
GenerateX509Req() Saved Private Key to file "/home/test/.retroshare/TMPCFG/keys/ user_pk.pem"
AuthSSLimpl::SignX509Req() Issuer name: 0000000000000000
X509 Cert, prepared for signing
Algorithms Fixed
Buffers Allocated
Digest Applied: len: 20
Cannot sign: no secret key with id 0000000000000000
GPGAuthMgr::SignX509Req() err: FAIL
RsGenerateCert() Couldn't sign ssl certificate. Probably PGP password is wrong.
(WW) Clearing PGP passphrase.
...


If I run retroshare as root in the same system retroshare starts normally:

linux:~ # /usr/bin/RetroShare06
RetroShare:: Successfully installed the SIGPIPE Block
Hashed main executable: 5738f5fdd0447deb1524161a0b5be397df56bbe0
defaultBaseDirectory() = /root/.retroshare
pubring file "/root/.retroshare/pgp/retroshare_public_keyring.gpg" not found. Creating a void keyring.
Pubring read successfully.
secring file "/root/.retroshare/pgp/retroshare_secret_keyring.gpg" not found. Creating a void keyring.
Secring read successfully.
private trust database not found. No trust info loaded.
RsAccounts::getAvailableAccounts()
getAvailableAccounts() Skipping Invalid sized dir: pgp
qt5ct: using qt5ct plugin
getAccountIds:
Finding PGPUsers
PGPHandler::syncDatabase(): can't stat file /root/.retroshare/pgp/retroshare_public_keyring.gpg. Can't sync public keyring.
PGPHandler::syncDatabase(): can't stat file /root/.retroshare/pgp/retroshare_trustdb.gpg. Will force write it.
Local changes in trust database. Writing to disk...
Done.
PGPHandler::syncDatabase(): can't stat file /root/.retroshare/pgp/retroshare_public_keyring.gpg. Can't sync public keyring.
Waiting ed->processEvents()
RsAccounts::GeneratePGPCertificate
ops_secret_key_free: Unknown algorithm: 0 (Unknown)
ops_public_key_free: Unknown algorithm: 0
Detected change on disk of public keyring. Merging!
ops_secret_key_free: Unknown algorithm: 0 (Unknown)
ops_public_key_free: Unknown algorithm: 0
(WW) Clearing PGP passphrase.
(WW) Caching PGP passphrase.
GenCertDialog::genPerson() Generating SSL cert with gpg id : A9E34D6B3F32ABD0
RsAccounts::GenerateSSLCertificate
AuthGPG::GPGInit() called with own gpg id : A9E34D6B3F32ABD0
Invalid Certificate
AuthGPG::GPGInit finished.
PGP Auth Success! ID: A9E34D6B3F32ABD0
Checking For Directories
GenerateX509Req() Saved Private Key to file "/root/.retroshare/TMPCFG/keys/user_pk.pem"
AuthSSLimpl::SignX509Req() Issuer name: A9E34D6B3F32ABD0
X509 Cert, prepared for signing
Algorithms Fixed
Buffers Allocated
Digest Applied: len: 20
pgp_pwd_callback() called.
Buffer Sizes: in: 655 HashOut: 20 SigOut: 287
Signature done: len:287
Certificate Complete
Certificate:
Data:
Version: 1 (0x0)
Serial Number:


Retroshare start normally in another 42.2 system run as regular user.

I do know nothing about gpg/pgp and certificates.

What to look for for possible fix? Is this an authentication problem?

Thanks,

Istvan


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages