1

Closed

Not build from source

description

------ Build started: Project: HDD Guardian, Configuration: Debug x86 ------
D:\SOFT\HDD_utils\HDDguardian\hddguardian_0.7.1-source_vb.net\HDD Guardian\My Project\Resources.resx(135,5): error MSB3103: Invalid Resx file. Could not find file 'D:\SOFT\HDD_utils\HDDguardian\hddguardian_0.7.1-source_vb.net\private.xml'. Line 135, position 5.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Source "hddguardian_0.7.1-source_vb.net" get from "http://hddguardian.codeplex.com/downloads/get/1628266"

File "private.xml" not exists in source archive.

Please check build possibility from published source.
Closed Apr 17 at 10:09 PM by Eruestan

comments

Eruestan wrote Mar 19 at 9:50 AM

Hi,

This file is intentionally missing since it contains the key for encryption/decryption of mail password: if I provide that someone can stole a password from the settings file (so, it's a matter of privacy and security).
Anyway, this is the nomenclature of this file:
<?xml version="1.0" encoding="utf-8"?>
<private>
    <key>...</key>
    <iv>...</iv>
</private>
Between "Key" an "IV" you have to put a random string of chars and numbers with the maximum length of 16 characters.

Sam

elgonzo wrote Mar 28 at 9:42 PM

Sam, considering the way HDD Guardian currently handles password encryption, there is no need to withhold the private.xml file from the source code repository. In fact, the content of this file is visible in plain text in the HDD Guardian executable. Also, since HDD Guardian sources are open (even if sources were not open, decompiling a .NET program is trivial), it is very easy to take a look at the encryption/decryption methods, which again point towards the XML resource with the keys in the executable.

wrote Apr 17 at 10:09 PM