Shoutbox

Log Encryption Help? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Log Encryption Help? (/showthread.php?tid=97532)

Log Encryption Help? by MyChatLogsHint on 05-05-2011 at 06:28 AM

Yeah, so I set the password hint and... yeah, there's nothing that shows the hint. Whats the point of having a password hint in case we forget the encyrption password if we can't even see it anywhere?

If we can, can you tell me where it is? kthx.

Using Windows Live Plus! 5 2011


RE: Log Encryption Help? by matty on 05-05-2011 at 03:29 PM

When you are prompted for the password there should be a link that says you forgot your password.

OP is correct. There isn't a link anywhere.

Here is the interface files for the Password input and hint... nothing to link the two together:

xml code:
>>>Stripped out what wasn't needed<<<
<?xml version="1.0" encoding="utf-16"?>
<!-- Messenger Plus! 5 Interface Files -->
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface ../Schemas/PlusInterface.xsd" Name="InterfaceLogViewer">
  <Window Id="PasswordInput" Version="1">
    <Attributes>
      <Caption>Password Required - Messenger Plus!</Caption>
    </Attributes>
    <TitleBar>
      <AllowMinimize>false</AllowMinimize>
      <Title>
        <Text>Password Required</Text>
      </Title>
    </TitleBar>
    <Position ClientWidth="210" ClientHeight="76" />
    <DialogTmpl>
      <BkgBrightness>Light</BkgBrightness>
      <BottomBar Style="Light">
        <RightControls>
          <Control xsi:type="ButtonControl" Id="BtnOk">
            <Position Top="0" Width="50" Left="0" />
            <Attributes>
              <IsDefault>true</IsDefault>
            </Attributes>
            <Caption>&amp;OK</Caption>
          </Control>
          <Control xsi:type="ButtonControl" Id="BtnCancel">
            <Position Top="0" Width="50" Left="0" />
            <Caption>&amp;Cancel</Caption>
          </Control>
        </RightControls>
      </BottomBar>
    </DialogTmpl>
    <Elements>
      <Element xsi:type="ImageElement" Id="ImgTitle">
        <Position Top="2" Left="8" />
        <Image>
          <Name>preferences-conversation-logencryption</Name>
        </Image>
      </Element>
    </Elements>
    <Controls>
      <Control xsi:type="StaticControl" Id="LblLocked">
        <Position Top="8" Width="163" Left="40" Height="25" />
        <Transparency>220</Transparency>
        <Caption>This file is currently locked. Please enter the appropriate password to open it.</Caption>
      </Control>
      <Control xsi:type="StaticControl" Id="LblPassword">
        <Position Top="37" Width="36" Left="7" />
        <Attributes>
          <AutoAdjustWidth>true</AutoAdjustWidth>
        </Attributes>
        <Caption>Password:</Caption>
      </Control>
      <Control xsi:type="EditControl" Id="EdtPassword">
        <Position Top="35" Width="156" Left="47">
          <TranslationAdjust>
            <StaticCtrlIDLeft>LblPassword</StaticCtrlIDLeft>
          </TranslationAdjust>
        </Position>
        <Attributes>
          <IsPassword>true</IsPassword>
        </Attributes>
      </Control>
    </Controls>
  </Window>
  <Window Id="PasswordInputHint" Version="1" TranslationSection="Window.PasswordInput">
    <Attributes>
      <Caption>Password Required - Messenger Plus!</Caption>
    </Attributes>
    <TitleBar>
      <AllowMinimize>false</AllowMinimize>
      <Title>
        <Text>Password Required</Text>
      </Title>
    </TitleBar>
    <Position ClientWidth="210" ClientHeight="96" />
    <DialogTmpl>
      <BkgBrightness>Light</BkgBrightness>
      <BottomBar Style="Light">
        <RightControls>
          <Control xsi:type="ButtonControl" Id="BtnOk">
            <Position Top="0" Width="50" Left="0" />
            <Attributes>
              <IsDefault>true</IsDefault>
            </Attributes>
            <Caption>&amp;OK</Caption>
          </Control>
          <Control xsi:type="ButtonControl" Id="BtnCancel">
            <Position Top="0" Width="50" Left="0" />
            <Caption>&amp;Cancel</Caption>
          </Control>
        </RightControls>
      </BottomBar>
    </DialogTmpl>
    <Elements>
      <Element xsi:type="ImageElement" Id="ImgTitle">
        <Position Top="2" Left="8" />
        <Image>
          <Name>preferences-conversation-logencryption</Name>
        </Image>
      </Element>
    </Elements>
    <Controls>
      <Control xsi:type="StaticControl" Id="LblLocked">
        <Position Top="8" Width="163" Left="40" Height="25" />
        <Transparency>220</Transparency>
        <Caption>This file is currently locked. Please enter the appropriate password to open it.</Caption>
      </Control>
      <Control xsi:type="StaticControl" Id="LblPassword">
        <Position Top="37" Width="36" Left="7" />
        <Attributes>
          <AutoAdjustWidth>true</AutoAdjustWidth>
        </Attributes>
        <Caption>Password:</Caption>
      </Control>
      <Control xsi:type="EditControl" Id="EdtPassword">
        <Position Top="35" Width="156" Left="47">
          <TranslationAdjust>
            <StaticCtrlIDLeft>LblPassword</StaticCtrlIDLeft>
          </TranslationAdjust>
        </Position>
        <Attributes>
          <IsPassword>true</IsPassword>
        </Attributes>
      </Control>
      <Control xsi:type="StaticControl" Id="LblHint">
        <Position Top="50" Width="156" Left="47" Height="20">
          <TranslationAdjust>
            <StaticCtrlIDLeft>LblPassword</StaticCtrlIDLeft>
          </TranslationAdjust>
        </Position>
        <Caption>Hint: %1.</Caption>
      </Control>
    </Controls>
  </Window>
</Interfaces>

RE: Log Encryption Help? by CookieRevised on 05-05-2011 at 08:43 PM

The two dialogs don't need to be 'linked' together.
It was never meant to work like a link or button you can press, or something like that, to see the hint.

The correct dialog is shown in function of what password you typed in the first attempt. The hint-less dialog will be closed and the hint-enabled dialog will show up when you type the wrong password.

It is of not much use to show a hint when you know the correct password anyways.

-------------------------------------------------

This said, there _are_ some problems with the dialogs and the hint-system:

There is also a bug in the Log Viewer where the hint-less password dialog is shown twice (that is: it is shown, and when it is closed/cancelled it is shown again), which might prevent the proper dialog (eg: with hint) to show up.

And together with this, there is also a bug which seems to store a 'broken' hint string (instead of an empty one) into the registry which causes the hint to not appear the next time or something like that (can't recall it properly anymore, need to look things up again for this).

And it also depends on what password and hint was set as the current ones in the preferences, and what was used in already stored logs (because the password and hint can be different per log), this can cause some confusion too.

--

Again, can't remember it all correctly anymore and I need to look things up again to describe it better. It is a combinations of things. Either way, the hint dialog does work though, but it is relativly easy to 'break' it too or to be confused about.