Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

StormConfig converting uppercase keys to lowercase #157

@sar009

Description

@sar009
else:
    # find first whitespace, and split there
    i = 0
    while (i < len(line)) and not line[i].isspace():
        i += 1
    if i == len(line):
        raise Exception('Unparsable line: %r' % line)
    key = line[:i].lower()
    value = line[i:].lstrip()

the key part in above peice of code from ssh_config_parser.StormConfig is converting config keys to lowercase. e.g. keys like RSAAuthentication are becoming rsaauthentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions