all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pmg-api 0/1] user config: password: allows (gost-)yescrypt, hashes
@ 2026-01-23 18:13 Samuel FORESTIER
  2026-01-23 18:18 ` [pmg-devel] [PATCH pmg-api 1/1] user config: password: allows (gost-)yescrypt hashes Samuel FORESTIER
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel FORESTIER @ 2026-01-23 18:13 UTC (permalink / raw)
  To: pmg-devel

 From 208b1364b8b83324aef594eb66794c231e162cb9 Mon Sep 17 00:00:00 2001
From: Samuel FORESTIER <samuel+dev@forestier.app>
Date: Fri, 23 Jan 2026 18:45:43 +0100
Subject: [PATCH pmg-api 0/1] user config: password: allows 
(gost-)yescrypt hashes

Dear developers,

This patch extends user config 'crypt_pass' field validation pattern to 
support
yescrypt and gost-yescrypt hash formats (regarding crypt(5) documentation).
This allows direct synchronization of PAM users to PMG realm, when their
passwords are hashed using yescrypt.

BR

Samuel FORESTIER (1):
   user config: password: allows (gost-)yescrypt hashes

  src/PMG/UserConfig.pm | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.39.5


_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pmg-devel] [PATCH pmg-api 1/1] user config: password: allows (gost-)yescrypt hashes
  2026-01-23 18:13 [pmg-devel] [PATCH pmg-api 0/1] user config: password: allows (gost-)yescrypt, hashes Samuel FORESTIER
@ 2026-01-23 18:18 ` Samuel FORESTIER
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel FORESTIER @ 2026-01-23 18:18 UTC (permalink / raw)
  To: pmg-devel

 From 208b1364b8b83324aef594eb66794c231e162cb9 Mon Sep 17 00:00:00 2001
From: Samuel FORESTIER <samuel+dev@forestier.app>
Date: Fri, 23 Jan 2026 18:33:06 +0100
Subject: [PATCH pmg-api 1/1] user config: password: allows 
(gost-)yescrypt hashes

Signed-off-by: Samuel FORESTIER <samuel+dev@forestier.app>
---
  src/PMG/UserConfig.pm | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PMG/UserConfig.pm b/src/PMG/UserConfig.pm
index 5ee7333..c672af9 100644
--- a/src/PMG/UserConfig.pm
+++ b/src/PMG/UserConfig.pm
@@ -109,7 +109,7 @@ my $schema = {
          crypt_pass => {
              description => "Encrypted password (see `man crypt`)",
              type => 'string',
-            pattern => '\$\d\$[a-zA-Z0-9\.\/]+\$[a-zA-Z0-9\.\/]+',
+            pattern => 
'\$(?:\d|g?y\$[a-zA-Z0-9\.\/]+)\$[a-zA-Z0-9\.\/]+\$[a-zA-Z0-9\.\/]+',
              optional => 1,
          },
          role => {
-- 
2.39.5


_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-23 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-23 18:13 [pmg-devel] [PATCH pmg-api 0/1] user config: password: allows (gost-)yescrypt, hashes Samuel FORESTIER
2026-01-23 18:18 ` [pmg-devel] [PATCH pmg-api 1/1] user config: password: allows (gost-)yescrypt hashes Samuel FORESTIER

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal