You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"message":"-----BEGIN PGP SIGNED MESSAGE-----\nserver_name: Some server\n-----BEGIN PGP SIGNATURE...",
"public_key":"-----BEGIN PGP PUBLIC KEY-----..."
}
在程序中使用下面的方法拼接请求内容
"-----BEGIN PGP SIGNED MESSAGE-----\nserver_name: "+server_name+"\n"+message
将会返回以下错误
Error: Mandatory blank line missing between armor headers and armor data
at /home/mprdb/OpenMPRDB/node_modules/openpgp/dist/node/openpgp.min.js:2:25843
at processTicksAndRejections (internal/process/task_queues.js:95:5)
在标题下加多一个换行符后解决
"-----BEGIN PGP SIGNED MESSAGE-----\n\nserver_name: "+server_name+"\n"+message
开发环境
OS: Microsoft Windows 10.0.19043
Languages: Golang
The text was updated successfully, but these errors were encountered:
问题描述
在进行注册操作时, 若按照API文档中的示例
在程序中使用下面的方法拼接请求内容
将会返回以下错误
在标题下加多一个换行符后解决
开发环境
OS: Microsoft Windows 10.0.19043
Languages: Golang
The text was updated successfully, but these errors were encountered: