02 2020 档案

摘要:shell-init: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录chdir: error retrieving current directory: getcwd: 阅读全文
posted @ 2020-02-17 15:04 邱明成 阅读(11238) 评论(0) 推荐(2) 编辑
摘要:Issue crontab -l command fails with the following error. # crontab -l You (user) are not allowed to access to (crontab) because of pam configuration. 阅读全文
posted @ 2020-02-16 18:49 邱明成 阅读(1494) 评论(0) 推荐(0) 编辑
摘要:SSL_CTX_set_default_passwd_cb[_userdata]() 这个函数比较简单,就是设置SSL要加载的证书的口令,如果不设置的话加载证书时会出提示符要求输入口令的,这样在程序中使用就比较麻烦,该函数就是预先将口令保存,在读证书时自动使用。 实现该功能的有两个函数SSL_CTX 阅读全文
posted @ 2020-02-12 15:13 邱明成 阅读(2490) 评论(0) 推荐(0) 编辑
摘要:我使用带有Python 2的Cherrypy 3.8.0来使用pyOpenSSL使用SSL / TLS。 我想禁用SSL3以避免POODLE(或其他弱密码)。 这是我到目前为止所拥有的: server_config={ 'server.socket_port': 443, 'server.ssl_m 阅读全文
posted @ 2020-02-05 08:47 邱明成 阅读(365) 评论(0) 推荐(0) 编辑
摘要:https://segmentfault.com/q/1010000017962717/a-1020000017969409 阅读全文
posted @ 2020-02-03 13:39 邱明成 阅读(131) 评论(0) 推荐(0) 编辑
摘要:In python3, we can use '__mro__' to get the method-resolution-order like below: >>> class a: ... pass ... >>> a.__mro__ (<class '__main__.a'>, <class 阅读全文
posted @ 2020-02-01 12:10 邱明成 阅读(192) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示