mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* Adding CrytoGridAssetClient support - allows encrypting assets that are stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does.
This commit is contained in:
@@ -418,6 +418,16 @@ namespace OpenSim
|
||||
{
|
||||
assetServer = new GridAssetClient(m_networkServersInfo.AssetURL);
|
||||
}
|
||||
else if (m_assetStorage == "cryptogrid") // Decrypt-Only
|
||||
{
|
||||
assetServer = new CryptoGridAssetClient(m_networkServersInfo.AssetURL,
|
||||
Environment.CurrentDirectory, true);
|
||||
}
|
||||
else if (m_assetStorage == "cryptogrid_eou") // Encrypts All Assets
|
||||
{
|
||||
assetServer = new CryptoGridAssetClient(m_networkServersInfo.AssetURL,
|
||||
Environment.CurrentDirectory, false);
|
||||
}
|
||||
else if (m_assetStorage == "file")
|
||||
{
|
||||
assetServer = new FileAssetClient(m_networkServersInfo.AssetURL);
|
||||
|
||||
Reference in New Issue
Block a user