当前位置: 首页 > news >正文

Mac 12.1安装tiger-vnc问题-routines:CRYPTO_internal:bad key length

背景:因为某些原因需要从本地mac连接远程linxu桌面查看一些内容,必须使用桌面查看,所以ssh无法满足,所以决定安装vnc客户端。

问题:

在mac上通过 brew install tiger-vnc命令安装, 但是报错如下:

==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/555c288aed70eaa4fa9dcf3bd37a1fbca3f69a00/Formula/lib/libpng.rb
Already downloaded: /Users/xxxx/Library/Caches/Homebrew/downloads/e334b6d4753af38f07dcbd30e22cd79df1d2b2c61cd4ac212c64559271884d04--libpng.rb
==> Downloading https://downloads.sourceforge.net/project/libpng/libpng16/1.6.44/libpng-1.6.44.tar.xz
################################################################################################################################################################################ 100.0%curl: (35) error:06FFF089:digital envelope routines:CRYPTO_internal:bad key lengthTrying a mirror...
==> Downloading https://sourceforge.mirrorservice.org/l/li/libpng/libpng16/1.6.44/libpng-1.6.44.tar.xz
curl: (6) Could not resolve host: sourceforge.mirrorservice.org
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: sourceforge.mirrorservice.org
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: sourceforge.mirrorservice.org
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: sourceforge.mirrorservice.orgError: tiger-vnc: Failed to download resource "libpng"

在这里插入图片描述

尝试的解决办法:

在stackoverflow有类似的curl: (35) error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length, 但是根据该方法无法解决我的问题。
link:https://stackoverflow.com/questions/69734654/fixing-git-https-error-bad-key-length-on-macos-12
该link给的方法是export CURL_SSL_BACKEND=“secure-transport”
在这里插入图片描述

再次尝试修改brew缓存目录内容,将下载的libpng-1.6.44.tar.xz直接放入到cache目录(通过brew --cache 获取cache目录信息),依然报相同的错误。

最终解决办法:

升级mac os版本, 我的版本是12.1, 直接升级到了12.7.6, 问题解决,
在这里插入图片描述

为什么选择升级os,因为stackoverflow的帖子写的该问题时,有一段描述:macOS 12.3 was officially released on march 13th, 2022 and the issue reported on this question has been fixed. Personally I have removed the workaround I had deployed and I suggest others do the same to keep up with the new versions.

而我的mac版本是12.1,所以最后决定升级,当时12.x系列中可用的版本是12.7.6, 就升级到12.7.6

http://www.lryc.cn/news/513926.html

相关文章:

  • 【代码分析】Unet-Pytorch
  • 【LLM入门系列】01 深度学习入门介绍
  • 安卓系统主板_迷你安卓主板定制开发_联发科MTK安卓主板方案
  • 关键点检测——HRNet原理详解篇
  • 25考研总结
  • 网络安全态势感知
  • 在K8S中,节点状态notReady如何排查?
  • 深度学习在光学成像中是如何发挥作用的?
  • 树莓派linux内核源码编译
  • 本地小主机安装HomeAssistant开源智能家居平台打造个人AI管家
  • SpringBoot返回文件让前端下载的几种方式
  • 人工智能及深度学习的一些题目
  • 15-利用dubbo远程服务调用
  • 【Rust自学】8.5. HashMap Pt.1:HashMap的定义、创建、合并与访问
  • 未来网络技术的新征程:5G、物联网与边缘计算(10/10)
  • LLM(十二)| DeepSeek-V3 技术报告深度解读——开源模型的巅峰之作
  • Uniapp在浏览器拉起导航
  • 公平联邦学习——多目标优化
  • 奇怪的Python:为何字符串要设置成不可变的?
  • Vue-Router之嵌套路由
  • MyBatis使用的设计模式
  • arm rk3588 升级glibc2.31到2.33
  • 【Linux系列】sed命令的深入解析:如何使用sed删除文件内容
  • C++ 设计模式:桥接模式(Bridge Pattern)
  • MATLAB中whitespacePattern函数用法
  • Django多字段认证的实现
  • 【AndroidAPP】权限被拒绝:[android.permission.READ_EXTERNAL_STORAGE],USB设备访问权限系统报错
  • SQL进阶技巧:如何分析连续签到领金币数问题?
  • 1、ELK的架构和安装
  • Vue2/Vue3使用DataV