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
I wanted to do a PR but I don't have aegir on my computer and I don't know how it work at all
I've also seen that there is tests inside test\interface-tests\src\key and I don't have time to spend on this.
Hi everyone,
I just find a bug in the key
import
method while trying it for one of my project.I have the following error using kubo v0.28.0 :
Uncaught HTTPError HTTPError: file argument 'key' is required
After investigation, i've see that the parameters are not corresponding.
Actual method signature :
import(name: string, pem: string, password: string, options?: HTTPRPCOptions): Promise<Key>
Expected method following the API doc :
import(name: string, file: File, ipnsBase?: string, format?: string, allowAnyKeyType?: boolean, options?: HTTPRPCOptions): Promise<Key>;
Here the link of the documentation :
https://docs-ipfs-tech.ipns.dweb.link/reference/kubo/rpc/#api-v0-key-import
I wanted to do a PR but I don't have aegir on my computer and I don't know how it work at all
I've also seen that there is tests inside
test\interface-tests\src\key
and I don't have time to spend on this.Here a little workaround to fix this issue :
Have a nice day and thanks for your work !
The text was updated successfully, but these errors were encountered: