[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master caaecd8 10/10: Fix defect introduced 20180723
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master caaecd8 10/10: Fix defect introduced 20180723T1356Z: passkey not updated |
Date: |
Fri, 27 Jul 2018 17:03:56 -0400 (EDT) |
branch: master
commit caaecd82d954d6ba952751eec8ff49ced4659592
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Fix defect introduced 20180723T1356Z: passkey not updated
The purpose of passkey authentication is to provide protection "against
accident, not against fraud" [ARM, 11.1c]. This defect demonstrates that
even deliberate circumvention is not trivially easy.
---
install_msw.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/install_msw.sh b/install_msw.sh
index 7889ae9..7ef211d 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -211,9 +211,14 @@ then
done
fi
+# To regenerate authentication files:
+# cd /opt/lmi/data
+# printf '2450449 2472011' >expiry
+# printf '%s\n' "$(md5sum expiry)" >validated.md5
+# [wine] /opt/lmi/bin/generate_passkey >passkey
printf '2450449 2472011' >/opt/lmi/data/expiry
-printf '0efd124fac6b15e6a9cd0b3dd718eea5 expiry\n'
>/opt/lmi/data/validated.md5
-printf '8fa614e38dde6f7ab0f9fade87dfa2e3' >/opt/lmi/data/passkey
+printf '5fc68a795c9c60da1b32be989efc299a expiry\n'
>/opt/lmi/data/validated.md5
+printf '391daa5cbc54e118c4737446bcb84eea' >/opt/lmi/data/passkey
# Tailored to msw; for POSIX, s|C:|| and s|CMD /c|/bin/sh| (e.g.).
- [lmi-commits] [lmi] master updated (da8e769 -> caaecd8), Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master e30fcc9 01/10: Transplant code that adds bilateral column margins, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 1430c70 03/10: Consolidate documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 521d3c4 04/10: Improve documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 3b4357b 05/10: Consolidate documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 6d64140 02/10: Rename class wx_table_generator::column_info --> table_column_info, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master caaecd8 10/10: Fix defect introduced 20180723T1356Z: passkey not updated,
Greg Chicares <=
- [lmi-commits] [lmi] master a525e18 08/10: Reformat a block comment, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 74183c6 09/10: Augment unit test, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master f89e234 06/10: Replace a member with a free function, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master f950086 07/10: Split some code into new source files, adding an inchoate unit test, Greg Chicares, 2018/07/27