解决方案:更改网站为https协议 具体请查看: https://github.com/MikeCoder/hexo-blog-encrypt/issues/114 __EOF__
Cannot read property 'importKey' of undefined at getKeyMaterial (blog-encrypt.js:94) #129 Closed D0n9X1n mentioned this issue Oct 14, 2020 输入密码之后没反应 #149 Closed D0n9X1n mentioned this issue Nov 1, 2020 使用插件输入密码报错 #153 Closed darkduckgo commented Nov 17, 2020...
直接删掉 node_modules 文件夹下得 hexo-blog-encrypt,然后 npm install 一下试试. 输入密码的时候是有报错的, 原因是没有找到文章部分的 div id, 这个可能是和其他插件冲突, 或者其他原因没有能够解析到原文的内容. 运行并没有报错。 删除node_modules文件夹重新安装依赖依然如此,就报错无效密码。 Owner D0n9X...
encrypt: # hexo-blog-encrypt abstract: 这里有东西被加密了,需要输入密码查看哦。 message: 您好, 这里需要密码. tags: - {name: tagName, password: 密码A} - {name: tagName, password: 密码B} template: {{hbeMessage}}{{hbeEncryptedData}}
# Security encrypt: # hexo-blog-encrypt abstract: Here's something encrypted, password is required to continue reading. message: Hey, password is required here. tags: - {name: encryptAsDiary, password: passwordA} - {name: encryptAsTips, password: passwordB} wrong_pass_message: Oh, this ...
为了解决这个问题, 让我们有请 "hexo-blog-encrypt". 特性 一旦你输入了正确的密码, 它将会被存储在本地浏览器的 localStorage中. 按个按钮, 密码将会被清空. 若博客中有脚本, 它将会被正确地执行. 支持按标签加密. 所有的核心功能都是由原生的 API 所提供的. 在 Node.js中, 我们使用Crypto. 在浏览器中...
# Security ## encrypt: enable: true 在你需要加密的 Hexo 博文头部添加: password , abstract , message 。--- password: PassWord abstract: This blog is encrypted. message: You must enter the password to read. --- password :是该博客加密使用的密码。 abstract :是该博客的摘要,会显示在博客的...
encrypt: # hexo-blog-encrypt abstract: 这里有东西被加密了,需要输入密码查看哦。 message: 您好, 这里需要密码. tags: - {name: tagName, password: 密码A} - {name: tagName, password: 密码B} template: {{hbeMessage}}{{hbeEncryptedData}}
有话我就直说的,我使用了hexo插件“hexo-blog-encrypt”来加密文章,但是在输入正确的密码后,文章右侧的目录内容为空。 我看了一下volantis源码,在这里侧边栏(_partial/side)不在“文章内容”部分中 https://github.com/xaoxuu/hexo-theme-volantis/blob/master/layout/post.ejs 应该是hexo-blog-encrypt先加密了...