小编Gar*_*phy的帖子

Office加载项安装VSTO下载失败

我有一个从Web服务器安装的Outlook加载项.此加载项的工作方式与我在Office中使用的所有其他加载项的工作方式相同.

  1. setup.exe已下载并执行
  2. 所有先决条件(.Net框架等)都经过验证
  3. vsto文件已下载

到目前为止,安装此加载项的每个人都没有遇到任何问题(此加载项已使用了大约一年).我们有一个新客户在Windows 7上安装它,我们正在看第一期.这是错误:

There was an error during installation:
Downloading http://<path and filename>.vsto did not succeed

***************** Exception Text******************
System.Deployment.Application.DeploymentDownloadException: Downloading http://<path and filename>.vsto did not succeed
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. ---> System.ComponentModel.Win32Exception: The token supplied to the function is invalid
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError, SecurityStatus& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.NtlmClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate)
at System.Net.NtlmClient.Authenticate(String challenge, WebRequest webrequest, ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge, …
Run Code Online (Sandbox Code Playgroud)

vb.net clickonce outlook vsto

4
推荐指数
1
解决办法
5483
查看次数

使用 Python 和 PostgreSQL 进行加密

我们有一个数据库,其中包含需要加密的个人身份信息 (PII)。

从 Python 方面,我可以使用 PyCrypto 使用 AES-256 和可变盐来加密数据;这会生成 Base64 编码的字符串。

从 PostgreSQL 端,我可以使用 PgCrypto 函数以相同的方式加密数据,但这会产生一个 bytea 值。

对于我的一生,我找不到一种方法在这两者之间进行转换,或者对两者进行比较,以便我可以对加密数据进行查询。有什么建议/想法吗?

注意:是的,我意识到我可以在数据库端进行所有加密/解密,但我的目标是确保应用程序和数据库之间传输的任何数据仍然不包含任何 PII,因为它可以在理论上,很容易被拦截,或者通过日志记录可见。

python encryption postgresql

2
推荐指数
1
解决办法
3240
查看次数

标签 统计

clickonce ×1

encryption ×1

outlook ×1

postgresql ×1

python ×1

vb.net ×1

vsto ×1