Project

General

Custom queries



Profile

Actions

Defect #30171

closed

Decrypting LDAP and SCM passwords fail if the plaintext password is longer than 31 bytes

Added by Go MAEDA over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This issue is originally reported to the community repository on GitHub by Nik Il.

https://github.com/redmine/redmine/pull/112/files

encode64 adds \n every 60 symbols, switch to strict_encode64 method, because .strip not working


Files

0001-Update-ciphering.rb.patch (849 Bytes) 0001-Update-ciphering.rb.patch patch by Nik Il Go MAEDA, 2018-12-10 07:38
test-for-30171.diff (831 Bytes) test-for-30171.diff test for Nik Il's patch Go MAEDA, 2018-12-16 06:00

Related issues

Related to Redmine - Feature #7411: Option to cipher LDAP ans SCM passwords stored in the databaseClosed2011-01-22

Actions
#1

Updated by Go MAEDA over 6 years ago

  • Related to Feature #7411: Option to cipher LDAP ans SCM passwords stored in the database added
#2

Updated by Go MAEDA over 6 years ago

  • Subject changed from Passwords encryption does not work if the password is longer than 31 characters to Passwords encryption does not work if the password is longer than 31 bytes
#3

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Confirmed
#4

Updated by Go MAEDA over 6 years ago

  • Target version set to 3.4.8
#6

Updated by Go MAEDA over 6 years ago

#7

Updated by Go MAEDA over 6 years ago

  • Subject changed from Passwords encryption does not work if the password is longer than 31 bytes to Decrypting LDAP and SCM passwords fail if the plaintext password is longer than 31 bytes
  • Status changed from Confirmed to Resolved
  • Resolution set to Fixed
#8

Updated by Go MAEDA over 6 years ago

  • Status changed from Resolved to Closed
#9

Updated by Go MAEDA about 6 years ago

  • Assignee set to Go MAEDA
Actions

Also available in: Atom PDF