d3ba830dc2
Re-worked version detection code after working with earlier builds of Secret Server. Removed the LastModifiedDate time stamp from the SQL query as it was not available in any but late versions. Added logic for dealing with SQL schema differences between versions. Added support for earlier builds of Secret Server, including pre-10.4 instances, which use different encryption mechanisms. Significant refactor of several methods to support legacy versions of Secret Server. Re-designed the workflow: module now has three actions, "export" dumps the encrypted CSV, "decrypt" will decrypt an exported CSV and "dump" (default) does both. Various bug-fixes and tweaks based on feedback. Changed some of the wording of output messages.