sha512 crypt() export
authorIvan Kohler <ivan@freeside.biz>
Thu, 30 Nov 2017 23:12:04 +0000 (15:12 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 30 Nov 2017 23:12:04 +0000 (15:12 -0800)
FS/FS/part_export/passwdfile.pm
FS/FS/part_export/shellcommands.pm
FS/FS/part_export/shellcommands_withdomain.pm

index 6713c8d..0ee7212 100644 (file)
@@ -10,7 +10,7 @@ use FS::part_export::null;
 tie %options, 'Tie::IxHash',
   'crypt' => { label=>'Password encryption',
                type=>'select', options=>[qw(crypt md5 sha512)],
-               default=>'md5',
+               default=>'sha512',
              },
 ;
 
index 7c280e5..09fa71b 100644 (file)
@@ -98,7 +98,7 @@ tie my %options, 'Tie::IxHash',
 
   'crypt' => { label   => 'Default password encryption',
                type=>'select', options=>[qw(crypt md5 sha512)],
-               default => 'md5',
+               default => 'sha512',
              },
   'groups_susp_reason' => { label =>
                              'Radius group mapping to reason (via template user)',
index b307133..004c421 100644 (file)
@@ -64,7 +64,7 @@ tie my %options, 'Tie::IxHash',
            },
   'crypt' => { label   => 'Default password encryption',
                type=>'select', options=>[qw(crypt md5 sha512)],
-               default => 'md5',
+               default => 'sha512',
              },
   'fail_on_output' => {
       label => 'Treat any output from the command as an error',