Skip to content

Things to do before you build

José Tomás Navarro Carrión edited this page Jun 14, 2013 · 7 revisions

You should edit the SIGUANETDesktop/PrefsGlobal.resx resource file before you build since some string resources must be updated for proper configuration within your organization. For your convenience, you can use the SharpDevelop 2.2 resource editor. Simply open the SIGUANETDesktop/PrefsGlobal.resx file from inside this IDE, follow the instructions below and you're done.

Set your organization's data

Set the following keys so that the GUI shows references to your organization correctly:

  • OrgAcronym: Your organization's acronym
  • OrgName: Your organization's full name

Configure symmetric encryption parameters

For standard users, the preferred way for managing PostgreSQL database credentials is to generate one XML file for each user profile, place them on a web server and let siguanet-desktop to download the corresponding file and build the connection string to your SIGUANET database. These remote settings files ( .srs ) contain database connection and user account data, and are encrypted using Rijndael's symmetric encryption. Read the Generating remote settings files page for instructions on how to create .srs files. In any case, these are the keys you must set in order for them to be properly encrypted:

  • RIJInitVector: Assign a 16 characters long string
  • RIJPassPhrase: Assign a 28 characters long string
  • RIJSaltValue: Assign a 28 characters long string

Remember that symmetric encryption means that this keys must be known by both ends. So, when you deploy the siguanet-desktop main executable to users in your organization, it must have been build with the same embedded Rijndael keys that the executable you used to create and encrypt the .srs files. Otherwise, they won't be able to decrypt them and, therefore, connect to your SIGUANET database.

Clone this wiki locally