mirror of
https://github.com/unraid/webgui.git
synced 2026-01-26 03:29:08 -06:00
security update
This commit is contained in:
@@ -43,8 +43,8 @@ unzero6(){
|
||||
|
||||
# function to initialize openSSL variables
|
||||
ssl_init(){
|
||||
KEY="$(dmidecode -qt1 | grep -Pom1 'Manufacturer: \K.+')ABCDEFGH"
|
||||
IV="$(dmidecode -qt1 | grep -Pom1 'Product Name: \K.+')1234567890123456"
|
||||
KEY="$(dmidecode -qt1 | grep -Pom1 'Manufacturer: \K.+' | sed 's/ /_/g')ABCDEFGH"
|
||||
IV="$(dmidecode -qt1 | grep -Pom1 'Product Name: \K.+' | sed 's/ /_/g')1234567890123456"
|
||||
echo "cipher=aes-256-cbc" >$SSLINPUT
|
||||
echo "key=${KEY:0:63}" >>$SSLINPUT
|
||||
echo "iv=${IV:0:16}" >>$SSLINPUT
|
||||
|
||||
Reference in New Issue
Block a user