Skip to content

Extract node public key from TLS communication #722

@fboucquez

Description

@fboucquez
Contributor

Instead of asking Rest or the Server API for a node' public key, we can use the tls connection to extract the public key.

Example:

openssl s_client -connect 304x.c.time4vps.cloud:7900 | openssl x509 -pubkey -noout

The SDK could provide a node service that given a hostname and a port, it returns the public key hex from the connection (using node's tls module or similar).

Activity

added
enhancementNew feature or request
P3 IssueLow severity cosmetic issues with minor inconvenience
and removed
P3 IssueLow severity cosmetic issues with minor inconvenience
on Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rg911@fboucquez

        Issue actions

          Extract node public key from TLS communication · Issue #722 · symbol/symbol-sdk-typescript-javascript