keyexec 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
keyexec/wincred.py ADDED
@@ -0,0 +1,112 @@
1
+ """Windows Credential Manager, one generic credential per entry under the target `keyexec:<entry>`.
2
+
3
+ Written against the Win32 API rather than through keyring, whose Windows backend keeps one credential per service and renames the previous one on every write, leaving stale copies behind (jaraco/keyring#545) and offering no way to list entries (jaraco/keyring#759).
4
+ """
5
+
6
+ import ctypes
7
+ import sys
8
+ from ctypes import wintypes
9
+
10
+ from keyexec.errors import StoreError
11
+
12
+ # Imported only on Windows (store.backend); the assert is what lets ty and pyright check the Win32 calls below.
13
+ assert sys.platform == "win32"
14
+
15
+ PREFIX = "keyexec:"
16
+ CRED_TYPE_GENERIC = 1
17
+ # Kept on this machine for this user; the default for many tools, ENTERPRISE, roams the token with a domain profile.
18
+ CRED_PERSIST_LOCAL_MACHINE = 2
19
+ # CRED_MAX_CREDENTIAL_BLOB_SIZE; values are stored as UTF-8, so an ASCII token may be this many characters.
20
+ MAX_VALUE_BYTES: int | None = 2560
21
+ ERROR_NOT_FOUND = 1168
22
+
23
+
24
+ class _Credential(ctypes.Structure):
25
+ _fields_ = (
26
+ ("Flags", wintypes.DWORD),
27
+ ("Type", wintypes.DWORD),
28
+ ("TargetName", wintypes.LPWSTR),
29
+ ("Comment", wintypes.LPWSTR),
30
+ ("LastWritten", wintypes.FILETIME),
31
+ ("CredentialBlobSize", wintypes.DWORD),
32
+ ("CredentialBlob", ctypes.POINTER(ctypes.c_ubyte)),
33
+ ("Persist", wintypes.DWORD),
34
+ ("AttributeCount", wintypes.DWORD),
35
+ ("Attributes", ctypes.c_void_p),
36
+ ("TargetAlias", wintypes.LPWSTR),
37
+ ("UserName", wintypes.LPWSTR),
38
+ )
39
+
40
+
41
+ _PCredential = ctypes.POINTER(_Credential)
42
+ _advapi32 = ctypes.WinDLL("advapi32", use_last_error=True)
43
+ _advapi32.CredReadW.argtypes = (wintypes.LPCWSTR, wintypes.DWORD, wintypes.DWORD, ctypes.POINTER(_PCredential))
44
+ _advapi32.CredReadW.restype = wintypes.BOOL
45
+ _advapi32.CredWriteW.argtypes = (_PCredential, wintypes.DWORD)
46
+ _advapi32.CredWriteW.restype = wintypes.BOOL
47
+ _advapi32.CredDeleteW.argtypes = (wintypes.LPCWSTR, wintypes.DWORD, wintypes.DWORD)
48
+ _advapi32.CredDeleteW.restype = wintypes.BOOL
49
+ _advapi32.CredEnumerateW.argtypes = (wintypes.LPCWSTR, wintypes.DWORD, ctypes.POINTER(wintypes.DWORD), ctypes.POINTER(ctypes.POINTER(_PCredential)))
50
+ _advapi32.CredEnumerateW.restype = wintypes.BOOL
51
+ _advapi32.CredFree.argtypes = (ctypes.c_void_p,)
52
+ _advapi32.CredFree.restype = None
53
+
54
+
55
+ def get(name: str) -> str | None:
56
+ credential = _PCredential()
57
+ if not _advapi32.CredReadW(PREFIX + name, CRED_TYPE_GENERIC, 0, ctypes.byref(credential)):
58
+ _raise_unless_missing("read")
59
+ return None
60
+ try:
61
+ found = credential.contents
62
+ blob = ctypes.string_at(found.CredentialBlob, found.CredentialBlobSize)
63
+ finally:
64
+ _advapi32.CredFree(credential)
65
+ try:
66
+ return blob.decode("utf-8")
67
+ except UnicodeDecodeError:
68
+ # `from None`: the decode error quotes the offending bytes, which are part of the value.
69
+ raise StoreError(f"entry {name!r} does not hold UTF-8 text, so keyexec did not write it") from None
70
+
71
+
72
+ def put(name: str, value: str) -> None:
73
+ blob = value.encode("utf-8")
74
+ buffer = (ctypes.c_ubyte * len(blob)).from_buffer_copy(blob)
75
+ credential = _Credential(
76
+ Type=CRED_TYPE_GENERIC,
77
+ TargetName=PREFIX + name,
78
+ CredentialBlobSize=len(blob),
79
+ CredentialBlob=ctypes.cast(buffer, ctypes.POINTER(ctypes.c_ubyte)),
80
+ Persist=CRED_PERSIST_LOCAL_MACHINE,
81
+ UserName=name,
82
+ )
83
+ if not _advapi32.CredWriteW(ctypes.byref(credential), 0):
84
+ raise _error("write")
85
+
86
+
87
+ def delete(name: str) -> bool:
88
+ if _advapi32.CredDeleteW(PREFIX + name, CRED_TYPE_GENERIC, 0):
89
+ return True
90
+ _raise_unless_missing("delete")
91
+ return False
92
+
93
+
94
+ def names() -> list[str]:
95
+ count = wintypes.DWORD()
96
+ credentials = ctypes.POINTER(_PCredential)()
97
+ if not _advapi32.CredEnumerateW(PREFIX + "*", 0, ctypes.byref(count), ctypes.byref(credentials)):
98
+ _raise_unless_missing("enumerate")
99
+ return []
100
+ try:
101
+ return sorted(credentials[i].contents.TargetName.removeprefix(PREFIX) for i in range(count.value))
102
+ finally:
103
+ _advapi32.CredFree(credentials)
104
+
105
+
106
+ def _raise_unless_missing(operation: str) -> None:
107
+ if ctypes.get_last_error() != ERROR_NOT_FOUND:
108
+ raise _error(operation)
109
+
110
+
111
+ def _error(operation: str) -> StoreError:
112
+ return StoreError(f"Windows Credential Manager {operation} failed: {ctypes.WinError(ctypes.get_last_error())}")
keyexec/winjob.py ADDED
@@ -0,0 +1,71 @@
1
+ import ctypes
2
+ import sys
3
+ from ctypes import wintypes
4
+
5
+ from keyexec.errors import JobObjectError
6
+
7
+ JOB_OBJECT_EXTENDED_LIMIT_INFORMATION = 9
8
+ JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x2000
9
+
10
+
11
+ class _BasicLimit(ctypes.Structure):
12
+ _fields_ = (
13
+ ("PerProcessUserTimeLimit", ctypes.c_int64),
14
+ ("PerJobUserTimeLimit", ctypes.c_int64),
15
+ ("LimitFlags", wintypes.DWORD),
16
+ ("MinimumWorkingSetSize", ctypes.c_size_t),
17
+ ("MaximumWorkingSetSize", ctypes.c_size_t),
18
+ ("ActiveProcessLimit", wintypes.DWORD),
19
+ ("Affinity", ctypes.c_size_t),
20
+ ("PriorityClass", wintypes.DWORD),
21
+ ("SchedulingClass", wintypes.DWORD),
22
+ )
23
+
24
+
25
+ class _IoCounters(ctypes.Structure):
26
+ _fields_ = tuple(
27
+ (name, ctypes.c_uint64)
28
+ for name in ("ReadOperationCount", "WriteOperationCount", "OtherOperationCount", "ReadTransferCount", "WriteTransferCount", "OtherTransferCount")
29
+ )
30
+
31
+
32
+ class _ExtendedLimit(ctypes.Structure):
33
+ _fields_ = (
34
+ ("BasicLimitInformation", _BasicLimit),
35
+ ("IoInfo", _IoCounters),
36
+ ("ProcessMemoryLimit", ctypes.c_size_t),
37
+ ("JobMemoryLimit", ctypes.c_size_t),
38
+ ("PeakProcessMemoryUsed", ctypes.c_size_t),
39
+ ("PeakJobMemoryUsed", ctypes.c_size_t),
40
+ )
41
+
42
+
43
+ def bind_descendants_to_this_process() -> None:
44
+ """Put this process in a kill-on-close job, so every process it starts afterwards dies with it, however it dies.
45
+
46
+ Windows has no parent-death signal: a TerminateProcess on keyexec would otherwise leave the MCP server running. Joining before the child is spawned, rather than assigning the child afterwards, means grandchildren (npx starting node) inherit the job with no window in which one could escape. The job handle is deliberately never closed: the OS closing it at exit is the trigger.
47
+ """
48
+ assert sys.platform == "win32"
49
+ kernel32 = ctypes.WinDLL("kernel32", use_last_error=True)
50
+ kernel32.CreateJobObjectW.restype = wintypes.HANDLE
51
+ kernel32.CreateJobObjectW.argtypes = (ctypes.c_void_p, wintypes.LPCWSTR)
52
+ kernel32.SetInformationJobObject.restype = wintypes.BOOL
53
+ kernel32.SetInformationJobObject.argtypes = (wintypes.HANDLE, ctypes.c_int, ctypes.c_void_p, wintypes.DWORD)
54
+ kernel32.AssignProcessToJobObject.restype = wintypes.BOOL
55
+ kernel32.AssignProcessToJobObject.argtypes = (wintypes.HANDLE, wintypes.HANDLE)
56
+ kernel32.GetCurrentProcess.restype = wintypes.HANDLE
57
+
58
+ job = kernel32.CreateJobObjectW(None, None)
59
+ if not job:
60
+ raise _failure("CreateJobObjectW")
61
+ limits = _ExtendedLimit()
62
+ limits.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
63
+ if not kernel32.SetInformationJobObject(job, JOB_OBJECT_EXTENDED_LIMIT_INFORMATION, ctypes.byref(limits), ctypes.sizeof(limits)):
64
+ raise _failure("SetInformationJobObject")
65
+ if not kernel32.AssignProcessToJobObject(job, kernel32.GetCurrentProcess()):
66
+ raise _failure("AssignProcessToJobObject")
67
+
68
+
69
+ def _failure(call: str) -> JobObjectError:
70
+ assert sys.platform == "win32"
71
+ return JobObjectError(f"could not tie the child's lifetime to keyexec ({call}): {ctypes.WinError(ctypes.get_last_error())}")
@@ -0,0 +1,146 @@
1
+ Metadata-Version: 2.4
2
+ Name: keyexec
3
+ Version: 0.1.0
4
+ Summary: Keep MCP server tokens in the OS credential store and inject them only at launch.
5
+ Keywords: mcp,claude-code,secrets,credential-manager,keychain,tokens
6
+ Author: Volkan Çiçek
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Topic :: Security
17
+ Classifier: Topic :: Utilities
18
+ Requires-Python: >=3.11
19
+ Project-URL: Repository, https://github.com/volkanncicek/keyexec
20
+ Project-URL: Issues, https://github.com/volkanncicek/keyexec/issues
21
+ Project-URL: Changelog, https://github.com/volkanncicek/keyexec/blob/main/CHANGELOG.md
22
+ Description-Content-Type: text/markdown
23
+
24
+ # keyexec
25
+
26
+ [![PyPI](https://img.shields.io/pypi/v/keyexec)](https://pypi.org/project/keyexec/)
27
+ [![Python](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fvolkanncicek%2Fkeyexec%2Fmain%2Fpyproject.toml)](https://pypi.org/project/keyexec/)
28
+ [![CI](https://github.com/volkanncicek/keyexec/actions/workflows/ci.yml/badge.svg)](https://github.com/volkanncicek/keyexec/actions/workflows/ci.yml)
29
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/volkanncicek/keyexec/blob/main/LICENSE)
30
+
31
+ Claude Code keeps the tokens of your MCP servers in plaintext in `~/.claude.json`. keyexec moves them into the operating system's credential store (Windows Credential Manager or the macOS Keychain) and leaves a command in their place, so the config file no longer holds any secret and a token is handed to its server only when the server starts.
32
+
33
+ It is a launcher, not a password manager: no vault, no sync, no daemon, no runtime dependencies. It protects the file, not your account: any program running as you can still read the credential store ([Security model](#security-model)).
34
+
35
+ ![keyexec in Windows Terminal: the migrate plan for three servers lists each token by name and length only, the apply stores them and names the backup, and doctor finds every entry the rewritten config refers to](https://raw.githubusercontent.com/volkanncicek/keyexec/main/docs/screenshot.png)
36
+
37
+ **Status:** in daily use on Windows, and checked end to end on macOS, where a Claude Code session connected one stdio and one http server through keyexec.
38
+
39
+ ## How it works
40
+
41
+ Each token becomes an **entry**: a named item in the credential store, such as `github-token`. `keyexec migrate --apply` stores the token as that entry and rewrites the server to start through keyexec:
42
+
43
+ ```diff
44
+ "github": {
45
+ - "command": "npx",
46
+ - "args": ["-y", "gh-mcp"],
47
+ - "env": { "GITHUB_TOKEN": "ghp_..." }
48
+ + "command": "C:\\Users\\me\\.local\\bin\\keyexec.exe",
49
+ + "args": ["run", "--env", "GITHUB_TOKEN=github-token", "--", "npx", "-y", "gh-mcp"]
50
+ }
51
+ ```
52
+
53
+ When Claude Code starts the server, `keyexec run` reads `github-token` from the store, starts `npx -y gh-mcp` with `GITHUB_TOKEN` set, and stays out of the way: it writes nothing to the server's stdio stream, ends the server when it is itself stopped, and returns the server's exit code. An http server gets a `headersHelper` instead, a command whose output Claude Code sends as request headers: `"<keyexec>" headers --header "Authorization=Bearer {acme-authorization}"`.
54
+
55
+ keyexec reads the user and local scopes in `~/.claude.json`. A repo's `.mcp.json` is not touched; keep its tokens out of the repo by hand.
56
+
57
+ `run` is not tied to MCP: `keyexec run --env GH_TOKEN=github-token -- gh pr status` gives any command a token without it sitting in your shell profile.
58
+
59
+ ## Quickstart
60
+
61
+ You need [uv](https://docs.astral.sh/uv/) (it fetches a suitable Python) and Claude Code on Windows or macOS.
62
+
63
+ ```shell
64
+ uv tool install keyexec
65
+ keyexec migrate # the plan: which plaintext tokens would move, to which entries; changes nothing
66
+ keyexec migrate --apply # store them, back up the config, rewrite it; asks first
67
+ ```
68
+
69
+ Then restart your Claude Code sessions, or reconnect each server from `/mcp`, and check that the servers connect. `keyexec doctor` confirms every entry the config refers to exists:
70
+
71
+ ```text
72
+ Config: C:\Users\me\.claude.json
73
+ github [stdio]
74
+ ok github-token
75
+ ```
76
+
77
+ Once the servers work, delete the backup `migrate` named (`~/.claude.json.keyexec-backup-<timestamp>`): it still holds the plaintext tokens, and `doctor` warns until it is gone.
78
+
79
+ If the plan is empty, no token was found in plaintext. If `--apply` stops because the config changed, Claude Code wrote the file meanwhile; run it again.
80
+
81
+ To add a server by hand, store the token first, then point the server at keyexec:
82
+
83
+ ```shell
84
+ keyexec set github-token # prompts for the value; never read from argv or a pipe
85
+ claude mcp add github -- keyexec run --env GITHUB_TOKEN=github-token -- <server command> [args...]
86
+ ```
87
+
88
+ A rotated token is replaced with `keyexec set <entry> --force`; the config does not change.
89
+
90
+ ## Install and upgrade
91
+
92
+ Install it as a tool rather than running it through `uvx`: `migrate --apply` writes the absolute path of the installed `keyexec` into the config, and a `uvx` cache path can disappear.
93
+
94
+ Upgrade with `uv tool upgrade keyexec`. It updates the tool in place and works while Claude Code runs. On Windows, never `uv tool install --force keyexec` while it runs: that deletes and recreates the tool environment, whose `python.exe` every running server holds open, and leaves the tool without its packages.
95
+
96
+ Releases are built by GitHub Actions and published to PyPI through trusted publishing, with attestations, so no long-lived upload token exists.
97
+
98
+ ## Commands
99
+
100
+ Besides `migrate` and `doctor`, `set`, `list` and `delete` manage entries by hand, and `run` and `headers` are what a rewritten config calls. The commands that report something print JSON when their output is piped. [docs/cli.md](https://github.com/volkanncicek/keyexec/blob/main/docs/cli.md) lists every command with its flags, and has the JSON formats, the exit codes, and exactly what `migrate` treats as a secret, how it names entries and what it skips.
101
+
102
+ ## Security model
103
+
104
+ What it protects against: tokens sitting in plaintext in `~/.claude.json`, and leaking from there through backups, dotfile syncs, screenshares, pasted configs, or tools and agents that read the file.
105
+
106
+ What it does **not** protect against:
107
+
108
+ - **Any process running as you can read the credential store.** On Windows, Credential Manager entries are readable by every process of the logged-in user without a prompt; on macOS the Keychain may prompt per application, but "Always Allow" removes that barrier. An agent with shell access can read an entry with a few lines of code.
109
+ - A running server holds its token in its environment, visible to same-user tools that inspect process environments.
110
+ - The migrate backup holds the plaintext tokens until you delete it.
111
+ - A secret passed in a server's command-line arguments rather than `env` or `headers` is not moved; `migrate` warns when it sees one.
112
+
113
+ keyexec makes no network requests and writes no log or file of its own besides the migrate backup. Report a vulnerability privately as described in [SECURITY.md](https://github.com/volkanncicek/keyexec/blob/main/SECURITY.md).
114
+
115
+ ## Troubleshooting
116
+
117
+ - **A server does not connect after the migration.** Run `keyexec doctor`: a `MISSING` entry is one the store does not hold; store it with `keyexec set <entry>`. To see why a server will not start, run its `command` and `args` from the config in a terminal: keyexec says what is wrong before it starts anything.
118
+ - **`keyexec` exits 4.** The credential store refused or is locked; on macOS, unlock the login Keychain. Over SSH the login Keychain usually stays locked: `doctor` and `list`, which read no value, still work, but a server started there cannot get its token. On Linux keyexec refuses to run rather than fall back to a plaintext store.
119
+ - **macOS asks for your password.** Entries keyexec wrote are read without a prompt, because the Keychain lets the program that created an item read it. Deleting an entry asks for your login password, and a different Python executable, for instance after a `uv tool upgrade` that replaces it, may be asked to confirm access.
120
+ - **A value is refused as too long.** Credential Manager limits the size of one entry; [Platform notes](#platform-notes) has the number.
121
+
122
+ ## Undoing it
123
+
124
+ For one server: set its `command` back to the first word after `--` in `args`, set `args` to the rest, and put the token back under `env` (for an http server, remove `headersHelper` and put the header back under `headers`). Then `keyexec delete <entry>`. Restoring the backup instead would undo whatever Claude Code wrote since.
125
+
126
+ For everything: undo each server, delete each entry `keyexec list` shows, then `uv tool uninstall keyexec`.
127
+
128
+ ## Platform notes
129
+
130
+ **Windows.** Each entry is a generic credential with the target `keyexec:<entry>`, kept on this machine only rather than roaming with a domain profile, and holding at most 2560 bytes; `cmdkey /list` shows the names without the values. When Claude Code exits, or keyexec is killed outright, the server and everything it started end with it.
131
+
132
+ **macOS.** Each entry is a generic password in the login Keychain with the service `keyexec` and the entry name as account. An update changes the item in place, so an "Always Allow" survives a rotated token. `run` forwards SIGINT, SIGTERM and SIGHUP to the server.
133
+
134
+ **Linux.** Not supported: keyexec talks to Windows Credential Manager and the macOS Keychain only. [envchain](https://github.com/sorah/envchain) does the same job well on Linux and macOS.
135
+
136
+ ## Development
137
+
138
+ See [CONTRIBUTING.md](https://github.com/volkanncicek/keyexec/blob/main/CONTRIBUTING.md) for setup and the checks CI runs, and [docs/design.md](https://github.com/volkanncicek/keyexec/blob/main/docs/design.md) for why the code is shaped the way it is.
139
+
140
+ ## Not affiliated with Anthropic
141
+
142
+ keyexec is an independent tool for Claude Code users. It is not made, endorsed or supported by Anthropic.
143
+
144
+ ## License
145
+
146
+ [MIT](https://github.com/volkanncicek/keyexec/blob/main/LICENSE)
@@ -0,0 +1,16 @@
1
+ keyexec/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ keyexec/cli.py,sha256=JxMJpq-goKfMg_9DhGEIgIZrdH4JisVcANF7d7djgeQ,10770
3
+ keyexec/config.py,sha256=vQa-swVDGcAYKFo7DPceWJ-FWjXzx2sRDALW7OmP_6k,2934
4
+ keyexec/doctor.py,sha256=JzfXfgzGFo6MFlvsvy4UJoeAlDZ3VPCYfdRXOvvnhSw,4423
5
+ keyexec/errors.py,sha256=1WQ2nRgcOdJvmQ6C7W6GT48unORE7hJ8ybbKyqG6h0Q,2269
6
+ keyexec/inject.py,sha256=gF4I1-B9PL5IzbXq0pj34sws94li423apBSDsXuqpD8,4665
7
+ keyexec/keychain.py,sha256=s3aQf6nBwvaHXVeMhTRkvC7JVhJKws6Fuyjlz3aIIfc,6260
8
+ keyexec/migrate.py,sha256=Q5X6VB3u93_5IZfgwOmzhVbQ9e-tkVlNWVQD5Du4mVY,16031
9
+ keyexec/store.py,sha256=kA1KZSMjx7i-yqGrAYydEvn_CoDFQFYbxL73tuQc_KM,2693
10
+ keyexec/wincred.py,sha256=U2XScmFhHbv5JwBXxk-dn6WGbDpboz9JQweRWdUKeNw,4410
11
+ keyexec/winjob.py,sha256=hYeb8OL_5AyZdvFZLjt7y3169o8IWAgKGrLOYaqiJkk,3168
12
+ keyexec-0.1.0.dist-info/licenses/LICENSE,sha256=ZivzYV2VQ-o0jBWYrOYIlnoOf6nNqBPY9106rAwBC1g,1071
13
+ keyexec-0.1.0.dist-info/WHEEL,sha256=-gI5GRFdiNNn2CFz-ptlExISMINC-k8bFxeojAlHbrM,81
14
+ keyexec-0.1.0.dist-info/entry_points.txt,sha256=KrrX5T-BBBshmfEZVMGK8FcLC5Lmde2-7t7a-O3Gz5Y,46
15
+ keyexec-0.1.0.dist-info/METADATA,sha256=ZstRInVOoFK9yVxXeJ1E_sVF3aMtPni0EcacX7PtTwU,10303
16
+ keyexec-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.10
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ keyexec = keyexec.cli:main
3
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Volkan Çiçek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.