@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:ssh_public_key a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "ssh_public_key" ;
    skos:prefLabel "SSH public key (OpenSSH format)"@en ;
    skos:definition "Public key in the one-line OpenSSH format of authorized_keys and known_hosts files: the key type (ssh-ed25519, ecdsa-sha2-nistp256, ssh-rsa and others), a space, the Base64 of the RFC 4253 key blob and an optional comment, often user@host. The multi-line RFC 4716 format (---- BEGIN SSH2 PUBLIC KEY ----) and authorized_keys options before the key type are not covered."@en ;
    skos:example "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" ;
    skos:example "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:regexp "^(?:ssh-(?:ed25519|ed448|rsa|dss)|ecdsa-sha2-nistp(?:256|384|521)|sk-(?:ssh-ed25519|ecdsa-sha2-nistp256)@openssh\\.com) AAAA[0-9A-Za-z+/]+={0,2}(?: [^\\r\\n]*)?$" ;
    rdfs:seeAlso <https://man.openbsd.org/sshd#AUTHORIZED_KEYS_FILE_FORMAT> ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc4253#section-6.6> ;
    rdfs:seeAlso <https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints> .
