Project

General

Profile

Bug #182

LoginEncryptionKey.inc should be an exception

Added by Wil van Antwerpen almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
01/17/2021
Due date:
% Done:

0%


Description

Reported by Marco on January 13, 2021


    #Include LoginEncryptionKey.inc

Was missed and moved into DFRefactor Backup

Probably because…
Project source is:


Object oApplication is a cApplication
    Object oConnection is a cConnection
        Use LoginEncryption.pkg
        Use DatabaseLoginDialog.dg
    End_Object
End_Object

But the loginEncryption.pkg is in the DF19.1\pkg directory, which contains the include back to the local file


Use cLoginEncryption.pkg

Object oLoginEncryption is a cLoginEncryption

    // this must be created in your appsrc directory and must contain an encryption
    // key that is set to psEncryptPassword. It will look something like this
    //
    // Set psEncryptPassword to "JchUAo7W@r.b{<Yk~OONi0nq=sMi[*Rn[A-`Vo)q"
    //  
    #Include LoginEncryptionKey.inc

    // use this to register this object to your cConnection Object. This object
    // must be created after the cConnection object
    Move Self to ghoLoginEncryption
End_Object

My recommendation is to code an exception;
If code contains “Use LoginEncryption.pkg” then ACT as if the code read “#Include LoginEncryptionKey.inc”

History

#1 Updated by Nils Svedmyr about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Nils Svedmyr

The suggested solution has been applied; an exception is made for the LoginEncryptionKey.inc file in Function UnusedPackages of the cUnusedSourceFiles.pkg

Also available in: Atom PDF