LYSS - Lyaazale Switch Security
Copyright 2026 Mouad Lyaazale (in Arabic: معاد اليازل)
Made in Morocco

This repository contains two kinds of work under two licences:

- The LYSS Specification (spec/, docs/LYSS-Specification.md) and the firmware knowledge base
  (data/) are licensed under the Creative Commons Attribution 4.0 International licence
  (CC BY 4.0), see LICENSE-SPEC. Credit: "LYSS Specification by Mouad Lyaazale (lyss.dev)".

- The software (src/, adapters/, tools/, tests/ and everything else) is licensed under the
  GNU Affero General Public License, version 3 only (AGPL-3.0-only), see LICENSE, with the
  additional terms below.

The map of Morocco in src/lyss/web/static/maroc.svg is derived from Natural Earth data
(public domain, naturalearthdata.com).

Exception: src/lyss/legacy_ssh.py (legacy SHA-1 SSH algorithms for old switches) is
dual-licensed, AGPL-3.0-only OR MIT, at the user's choice; the MIT text is in the file. The
additional terms below do not apply when that file is used under MIT. It uses paramiko (GNU
Lesser General Public License 2.1, github.com/paramiko/paramiko) as a library and extends its key
exchange classes; no paramiko code is copied.


ADDITIONAL TERMS (section 7 of the GNU Affero General Public License, version 3)

These terms apply to the software and to every work based on it.

1. Author attribution (section 7(b)).
   The software displays this attribution:

       LYSS by Mouad Lyaazale · Made in Morocco

   It appears in the footer of the web interface, on its login and first-start page, and in
   the generated reports. Anyone who conveys the software, or a modified version of it, or
   lets users interact with it over a network, must preserve this attribution, unaltered and
   legible, in the same places, or, where a modified version no longer has one of these
   places, in an equivalent place that every user sees (for example an "About" page reachable
   from every screen). This copy of NOTICE must be kept with every copy of the source code.

2. Modified versions (section 7(c)).
   A modified version must be marked in a reasonable way as different from the original, for
   example "based on LYSS by Mouad Lyaazale", and must not be presented as the original
   LYSS or as endorsed by its author.

3. Names and marks (section 7(e)).
   This licence grants no right to use the names "LYSS" and "Lyaazale Switch Security" or the
   LYSS logo, except to give the attribution required above and to say truthfully that a work
   is based on LYSS. See TRADEMARKS.md.
