Browse Source

switch to nothing-up-my-sleeve example password hashes

tags/v2.1.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
5c4425ec54
3 changed files with 5 additions and 5 deletions
  1. 2
    2
      conventional.yaml
  2. 1
    1
      distrib/docker/run.sh
  3. 2
    2
      oragono.yaml

+ 2
- 2
conventional.yaml View File

@@ -152,7 +152,7 @@ server:
152 152
             fingerprint: "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789"
153 153
 
154 154
             # password the gateway uses to connect, made with oragono genpasswd
155
-            password: "$2a$04$sLEFDpIOyUp55e6gTMKbOeroT6tMXTjPFvA0eGvwvImVR9pkwv7ee"
155
+            password: "$2a$04$abcdef0123456789abcdef0123456789abcdef0123456789abcde"
156 156
 
157 157
             # addresses/CIDRs that can use this webirc command
158 158
             # you should also add these addresses to the connection limits and throttling exemption lists
@@ -589,7 +589,7 @@ opers:
589 589
         # or by certificate fingerprint, or both. if a password hash is set, then a
590 590
         # password is required to oper up (e.g., /OPER dan mypassword). to generate
591 591
         # the hash, use `oragono genpasswd`.
592
-        password: "$2a$04$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu"
592
+        password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
593 593
 
594 594
         # if a SHA-256 certificate fingerprint is configured here, then it will be
595 595
         # required to /OPER. if you comment out the password hash above, then you can

+ 1
- 1
distrib/docker/run.sh View File

@@ -11,7 +11,7 @@ if [ ! -f "/ircd/ircd.yaml" ]; then
11 11
     OPERPASS=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c20)
12 12
     echo "Oper username:password is admin:$OPERPASS"
13 13
     ENCRYPTEDPASS=$(echo "$OPERPASS" | /ircd-bin/oragono genpasswd)
14
-    ORIGINALPASS='\$2a\$04\$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu'
14
+    ORIGINALPASS='\$2a\$04\$0123456789abcdef0123456789abcdef0123456789abcdef01234'
15 15
 
16 16
     awk "{gsub(/password: \\\"$ORIGINALPASS\\\"/,\"password: \\\"$ENCRYPTEDPASS\\\"\")}1" /tmp/ircd.yaml > /tmp/ircd2.yaml
17 17
 

+ 2
- 2
oragono.yaml View File

@@ -178,7 +178,7 @@ server:
178 178
             fingerprint: "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789"
179 179
 
180 180
             # password the gateway uses to connect, made with oragono genpasswd
181
-            password: "$2a$04$sLEFDpIOyUp55e6gTMKbOeroT6tMXTjPFvA0eGvwvImVR9pkwv7ee"
181
+            password: "$2a$04$abcdef0123456789abcdef0123456789abcdef0123456789abcde"
182 182
 
183 183
             # addresses/CIDRs that can use this webirc command
184 184
             # you should also add these addresses to the connection limits and throttling exemption lists
@@ -615,7 +615,7 @@ opers:
615 615
         # or by certificate fingerprint, or both. if a password hash is set, then a
616 616
         # password is required to oper up (e.g., /OPER dan mypassword). to generate
617 617
         # the hash, use `oragono genpasswd`.
618
-        password: "$2a$04$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu"
618
+        password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
619 619
 
620 620
         # if a SHA-256 certificate fingerprint is configured here, then it will be
621 621
         # required to /OPER. if you comment out the password hash above, then you can

Loading…
Cancel
Save