Skip to content

get_encrypt_keys/decrypt failed #15

Open

Description

@longjianghu

decrypt failed

/home/wwwroot/www.ssdb.com/phpssdbadmin/app/controllers/login.php:42 _throw()
/home/wwwroot/www.ssdb.com/phpssdbadmin/app/controllers/login.php:20 on_submit()
/home/wwwroot/www.ssdb.com/phpssdbadmin/iphp/framework/App.php:103 index()
/home/wwwroot/www.ssdb.com/phpssdbadmin/iphp/framework/App.php:47 execute()
/home/wwwroot/www.ssdb.com/phpssdbadmin/index.php:9 run()

Activity

  1. shinebay commented on Feb 6, 2016

    @shinebay

    不改密码就是“can not login”,改了密码就是“get_encrypt_keys failed”,无语了。。。

  2. huache commented on Sep 18, 2016

    @huache

    很奇怪,我部署的 phpssdbadmin 之前一直都运行正常的,但是今天运行了 yum update 之后,出现了同样的错误提示!
    有没有可能是 openssl_private_decrypt 函数的问题?
    操作系统:CentOS 7.2.1511
    php 版本:5.4.16

  3. ideawu commented on Sep 18, 2016

    @ideawu
    Contributor

    @huache 你可能需要更新 php-openssl 模块和相关的依赖.

  4. huache commented on Sep 19, 2016

    @huache

    @ideawu 我试着调试了一下,发现问题出在 $_SESSION 变量上。在SafeUtil.php 里的 set_data 函数中存入的值在 get_data 函数中取不到。

    现在这个问题已经被解决,好像是更新之后 php 的 session 的存储目录 /var/lib/php/session 的权限出了问题,我把这个目录的组 从 apache 改为 nginx 就恢复正常了。

  5. zhechang520 commented on Nov 18, 2016

    @zhechang520

    不改密码就是“can not login”,改了密码就是“get_encrypt_keys failed”,无语了。。。

  6. askie commented on Mar 28, 2017

    @askie

    decrypt failed

    /home/wwwroot/cp.dhfeng.com/ssdb/app/controllers/login.php:42 _throw()
    /home/wwwroot/cp.dhfeng.com/ssdb/app/controllers/login.php:20 on_submit()
    /home/wwwroot/cp.dhfeng.com/ssdb/iphp/framework/App.php:166 index()
    /home/wwwroot/cp.dhfeng.com/ssdb/iphp/framework/App.php:153 execute()
    /home/wwwroot/cp.dhfeng.com/ssdb/iphp/framework/App.php:80 _run()
    /home/wwwroot/cp.dhfeng.com/ssdb/index.php:9 run()

  7. changed the title [-]decrypt failed[/-] [+]get_encrypt_keys/decrypt failed[/+] on Oct 31, 2018
  8. ideawu commented on Oct 31, 2018

    @ideawu
    Contributor

    有用户表示,和 phpinfo() 里的 Openssl default config 有关。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions