Project

General

Profile

Bug #24084

Password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work

Added by Lukas Kallies 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:

Description

The operatingsystem definition lets you select a hashing algorithm (SHA256, SHA512, ...). This is written in uppercase. The value is used in the kickstart_default.erb (authconfig --passalgo=) which needs downcase values.

If SHA512 is selected (SHA256 is the default in kickstart_default.erb), authconfig will use SHA256 anyway because it has no value SHA512 (but sha512).

This issue is also described in RH Bugzilla #1563529 (https://bugzilla.redhat.com/show_bug.cgi?id=1563529)

Associated revisions

Revision 662cb89c (diff)
Added by Lukas Zapletal 5 months ago

Fixes #24084 - root pass algo is downcase now

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5746 added

#2 Updated by Lukas Zapletal 5 months ago

  • Bugzilla link set to 1563529
  • Category set to Templates
  • Subject changed from root password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work (downcase/uppercase) to Password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work

Hey, yeah thanks. Fixing.

#3 Updated by The Foreman Bot 5 months ago

  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/community-templates/pull/487 added

#4 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/community-templates/pull/488 added

#5 Updated by Anonymous 5 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#6 Updated by Marek Hulán 5 months ago

  • Legacy Backlogs Release (now unused) set to 353

will be synced to 1.19

#7 Updated by Lukas Zapletal 5 months ago

Lukas, we are not backporting into 1.18 the fix is a trivial change.

Also available in: Atom PDF