How your login is protected

Skylight needs your Skyward login to sign in for you. Here's what happens to it, from the moment you type it, under military-grade AES-256 encryption.

  1. 01

    You give Skylight your Skyward login

    When you sign up, you enter the username and password you use for Skyward and pick a Skylight password. Both travel to the server over HTTPS.

    HTTPS
  2. 02

    Skylight signs in to Skyward for you

    The server signs in to Skyward the same way your browser does, with no extension and no automated browser. It reads your grades, attendance, schedule and history.

    Same sign-in as your browser
  3. 03

    Your password becomes a key

    Your Skylight password is run through PBKDF2-SHA256 600,000 times to make a key. Anyone guessing your password has to pay those same 600,000 rounds for every guess.

    PBKDF2-SHA256 · 600,000 rounds
  4. 04

    A random key locks your data

    Skylight makes a data key just for you, 32 random bytes. AES-256-GCM, the cipher approved for top secret US government data, locks your Skyward login and grades with it.

    AES-256-GCM
  5. 05

    Your password key locks the data key

    The data key is locked again, this time with the key from your password. Without your password the data key can't be opened, and neither can anything it locked.

    Envelope encryption
  6. 06

    Only locked boxes are stored

    The database holds your locked data and your locked data key. The key from your password is never stored. While you're signed in, it lives only inside your encrypted session cookie.

    Password key: never stored
  7. 07

    A wrong guess gets nothing

    A wrong password makes a completely different key, and the lock gives back nothing at all. Each try costs the full 600,000 rounds, so a long, unusual password makes guessing hopeless.

    0 bytes returned
  8. 08

    With push on, a second key

    To check for new grades while you're away, the server keeps a second copy of your data key locked with a server secret. Someone with both the database and that secret could read your Skyward login. Remove your last push device in Settings and that copy is deleted.

    Push only

What gets stored

There are three levels. Select one to see how it's locked.

Skylight's three storage levels and what each one keeps
LevelAccountSkyward loginGradesBackground checksIn short
YesOnly in your browserEncryptedNoThe server keeps only a hash of your password.
YesEncryptedEncryptedNoReadable only while you're signed in.
YesEncrypted, plus a server-key copyEncrypted, plus a server-key copyEvery 15 minThe server can open it without you to check for new grades.
  1. 1 Your Skylight password
  2. 2 A key made from your password
  3. 3 A data key made just for you
  4. 4 Your Skyward login and grades, AES-256-GCM encrypted
  1. A server secret (not used at this level)
  2. A second copy of your key (not used at this level)

Readable only while you're signed in. Skyward login: Encrypted. Grades: Encrypted.

Watch your data get locked

A made-up student and the same encryption Skylight uses, running in your browser. Nothing here is sent anywhere.

A made-up student's grades are readable at first. A password is stretched into a key with 600,000 rounds of PBKDF2, which took a fraction of a second on this device. AES-256-GCM then turns the data into unreadable text. Wrong guesses each pay the same 600,000 rounds, produce a completely different key and get no data back. The right password unlocks the grades again.

Nothing you type here leaves this page. Make one up, don't use a real password.

Password typed PBKDF2-SHA256 rounds 0 / 600,000
Key made from the password
Student data
Break-in attempts 0 guesses · 0.00 s

Wrong guesses show up here once the data is locked.

A wrong password doesn't get you something close, it gets you nothing. The only way in is guessing, and each guess costs the full 600,000 rounds. A long, unusual password makes that hopeless. A short common one is still a risk.

With push on, I keep a second copy of your key locked with a server secret. Someone with both the database and that secret wouldn't need your password.

The details

Military-grade encryption
AES-256-GCM, the cipher approved for top secret US government data, with a data key made just for you and wrapped by a key from your Skylight password.
Password stretching
PBKDF2-SHA256, 600,000 iterations.
Sessions
Encrypted, HttpOnly, SameSite cookies.
Rate limits
On sign-in, sign-up, account changes and syncs.
Browser
A strict CSP with a fresh nonce on every page load, and HSTS.
Notifications
Encrypted to your device, so the service relaying them can't read them.

Limits

Anyone who knows your Skyward login can already see your grades in Skyward, and can use it to reset your Skylight password. Keep that login safe first.

If you don't want your login stored on the server, use browser-only login. Without push, an account can keep the Skyward login in your browser instead of on the server, if your Skylight and Skyward passwords are the same. The server then keeps only a hash, with no copy of your login, even encrypted. In exchange, anything that can read your browser's storage, like a malicious extension or someone using your device, can read your Skyward password. The server still sees your password while you sign in and during each refresh.

They can also keep their grades and activity only in the browser. This adds almost no protection, because the stored copy is already encrypted with a key only your password makes. A new device or a cleared browser starts empty, activity no longer follows you between devices, and push notifications can't be used.

The code is public

The encryption, the Skyward sign-in and what the server logs are all in the repository.

Read the code

See your own grades

Make an account with your Skyward login.