Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 291
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 37
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1099

Closed
Open
Opened 50 minutes ago by Mark Harding@markeharding
Report abuse New issue

Api should catch encryption exception

Sentry Issue: ENGINE-1W

Exception: Could not decrypt private key
  File "/Core/Messenger/Encryption/OpenSSL.php", line 113, in Minds\Core\Messenger\Encryption\OpenSSL::unlockPrivateKey
    throw new \Exception('Could not decrypt private key');
  File "/Core/Messenger/Keystore.php", line 56, in Minds\Core\Messenger\Keystore::unlockPrivateKey
    self::$tmpPrivateKey = $this->handler->unlockPrivateKey($this->getPrivateKey(), $password, $new_password);
  File "/Controllers/api/v2/messenger/keys.php", line 91, in Minds\Controllers\api\v2\messenger\keys::post
    $keystore->unlockPrivateKey($_POST['password'], $unlockPassword);
  File "/Api/Factory.php", line 90, in Minds\Api\Factory::build
    return $handler->$method($pages);
  File "/Controllers/api/api.php", line 81, in Minds\Controllers\api\api::post
    return Factory::build($pages, $this->request, $this->response);
...
(2 additional frame(s) were not displayed)

Related issues
0

  • Discussion 0
  • Designs 0
  • Mark Harding @markeharding added Product::Messenger Type::Bug scoped labels 50 minutes ago

    added scoped labels

  • Mark Harding @markeharding added Priority::1 - High Sprint::11/06 - Rolling Rabbit scoped labels 50 minutes ago

    added scoped labels

  • Mark Harding @markeharding added Status::Backlog scoped label 49 minutes ago

    added scoped label

  • Mark Harding @markeharding assigned to @benhayward.ben 49 minutes ago

    assigned to @benhayward.ben

  • Mark Harding @markeharding changed time estimate to 1h 49 minutes ago

    changed time estimate to 1h

Please register or sign in to reply
Assignee
Ben Hayward's avatar
Ben Hayward @benhayward.ben
none
Epic
None
None
Milestone
None
Time tracking
Estimated: 1h
None
Due date
None
5
Labels
Priority::1 - High Product::Messenger Sprint::11/06 - Rolling Rabbit Status::Backlog Type::Bug
None
Weight
None
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Ben Hayward
user avatar
Mark Harding
Reference: minds/engine#1099