AW: Re: can't decrypet encrypted key on 2.9.x

So pi.cfg is the same on both machines.Is the enckey also the same on both machines?
Kind regardsCornelius

Cornelius KölbelCornelius.koelbel@netknights.it+49 151 2960 1417
NetKnights GmbHhttp://netknights.itLandgraf-Karl-Str. 19, 34131 Kassel, GermanyTel: +49 561 3166797, Fax: +49 561 3166798
Amtsgericht Kassel, HRB 16405Geschäftsführer: Cornelius Kölbel-------- Ursprüngliche Nachricht --------
Von: Sherif Nagy sherif.nagy@gmail.com
Datum: 04.01.2016 11:20 (GMT+01:00)
An: privacyidea privacyidea@googlegroups.com
Cc: sherif.nagy@gmail.com
Betreff: Re: can’t decrypet encrypted key on 2.9.x

Hi Cornelius,
Yes I am using an internal admin + LDAP for the users " the old bug that got fixed if you remember for the realm "Yes PI_PEPPER still in pi.cfgNo, the files still the same " the pi.cfg and the enckey
I have another machine, since I am running PrivacyIDEA in Mysql Master-Master replication mode, so I updated only one machine that got broke, the other 2.8.x machine still working fine " decrypting the enckey ", so I did md5sum on pi.cfg and enckey on both machines and they are the same.
Regards,Sherif

On Monday, January 4, 2016 at 10:12:35 AM UTC, Cornelius Kölbel wrote:

Hi Sherif,
Is the key still encrypted?
Are you using an internal admin?There is a PEPPER in the pi.cfg.
Can you verify if it has changed?
Kind regardsCornelius

Cornelius KölbelCorneliu…@netknights.it+49 151 2960 1417
NetKnights GmbHhttp://netknights.itLandgraf-Karl-Str. 19, 34131 Kassel, GermanyTel: +49 561 3166797, Fax: +49 561 3166798
Amtsgericht Kassel, HRB 16405Geschäftsführer: Cornelius Kölbel

-------- Ursprüngliche Nachricht --------
Von: Sherif Nagy sheri...@gmail.com
Datum: 04.01.2016 11:01 (GMT+01:00)
An: privacyidea priva...@googlegroups.com
Betreff: can’t decrypet encrypted key on 2.9.x

Hi,
Happy new year everyone, I just updated to the 2.9.x from 2.8.x on a Debian environment, I had the enckey already encrypted with the security module, after the update whenever I run the commands for the securitymodule to decrypt the key I get the following error:
Please enter password for ‘admin’:Traceback (most recent call last): File “/usr/bin/privacyidea”, line 1467, in main() File “/usr/bin/privacyidea”, line 1462, in main no_ssl_check=args.nosslcheck) File “/usr/lib/python2.7/dist-packages/privacyideautils/clientutils.py”, line 96, in init self.set_credentials(username, password) File “/usr/lib/python2.7/dist-packages/privacyideautils/clientutils.py”, line 129, in set_credentials raise Exception(“Invalid Credentials: %s” % r.status_code)Exception: Invalid Credentials: 400
Regards,Sherif

You received this message because you are subscribed to the Google Groups “privacyidea” group.

To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea...@googlegroups.com.

To post to this group, send email to priva...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/9905d22b-a3f9-440b-ad6f-8d0ae9d7568c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “privacyidea” group.

To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea+unsubscribe@googlegroups.com.

To post to this group, send email to privacyidea@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/a0251504-1cfc-42d6-a932-0486ae46d7f6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.