Skip to content

Option for innernet show not to ellipsize the wireguard key #344

@strohel

Description

@strohel

Currently, when one does innernet show, the output looks like

  peer: joe (fk8Hnjnfdk...)
    ip: 1.2.3.4
    endpoint: 192.168.1.2:51951
    last handshake: 2 hours, 30 minutes ago
    transfer: 0 B received, 1096.56 KiB sent

Here fk8Hnjnfdk is the start of peer's public key - but not a full one. Sometime the full one is needed, i.e. when one wants to manually override the endpoint using wg set network peer <full-key> endpoint <x.y.z.w:p>

It would be nice if innernet show accepted some option not to shorten the public key.

CC @bschwind / @jacksongoode if you want to play with innernet a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions