Project

General

Profile

Actions

Bug #7254

closed

Ssh key distribution cannot distibute several keys on one user

Bug #7254: Ssh key distribution cannot distibute several keys on one user

Added by Vincent MEMBRÉ about 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If i try to add several keys to a user with sshKeyDistribution technique ... it completely broke my authorized keys file \o/

lets say I have 3 keys: key1, key2, key3

after first run: I will have

key3

after second run:

key3
key3

after n runs:

key3
... n-2 times ... 
key3

This is because a var is not set when we try to replace the lines which leads to funny behavior (not so funny)


Subtasks 1 (0 open1 closed)

Bug #7255: Ssh key distribution cannot distibute several keys on one user (branch 2.11, versions 2.0 and 3.0)ReleasedBenoît PECCATTEActions

Updated by Vincent MEMBRÉ about 10 years ago Actions #1

  • Status changed from New to In progress

Updated by Vincent MEMBRÉ about 10 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/749

Updated by Vincent MEMBRÉ about 10 years ago Actions #3

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Vincent MEMBRÉ about 10 years ago Actions #5

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.18, 2.11.15, 3.0.10 and 3.1.3 which were released today.

Actions

Also available in: PDF Atom