Skip to content

Error in offline name.publish after id #4978

@alanshaw

Description

@alanshaw

Version information:

go-ipfs version: 0.4.14-5db3846
Repo version: 6
System version: amd64/darwin
Golang version: go1.10

Type:

Bug

Description:

Only in offline mode, calling name.publish after id causes an error.

$ ipfs daemon --offline &
[1] 47216
$ Initializing daemon...
Swarm not listening, running in offline mode.
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8090
Daemon is ready
$ ipfs id
{
	"ID": "QmahispzgXbQ5ewaxSjdrst8KNLzREhVHdhxZwAUHQWqLb",
	"PublicKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDC4Q6B6burDPTlfIkjlF72Q/G72GT7CDBzlZsGI9XKf3XCC5PQiTBcpvKEnUCoBvquiClWE1yJiM4bu1dH/YR5NDBlx9EQzDDmiVvS909cqokRHxA0NY5t83hs8gthoMt6wn15euG2e6LVohqefq6YiiFWgakxDcRyMclLWKiF2t7U6OhMMSd2YdHp15wcHac13ZmdNKhZ/TBhjeKowl4DjAixxLE0kmcK5MsABeQEA+BHukz425K3929onEriSkG7xkSrd0YwKOx6J2Apub7Df8yhcG1PFoTyfTUD/gxkYNrB2jjqUJaNXrK4QDbaDinBNS3KZUn4SQtmxzj2gi4PAgMBAAE=",
	"Addresses": null,
	"AgentVersion": "go-ipfs/0.4.14/5db3846",
	"ProtocolVersion": "ipfs/0.1.0"
}
$ ipfs name publish zdpuArHMUAYi3VtD3f7iSkXxYK9xo687SoNf5stAQNCMzd77k
Error: private key already loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions