How your login is protected

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

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.

When you sign in

  1. Skylight signs in to Skyward with your login, the same way your browser does. No extension, no automated browser.
  2. It reads your grades, attendance, schedule and history.
  3. Depending on the level you pick, it either forgets your login or stores it encrypted.

What gets stored

An account encrypts your saved grades with a key only your password makes. Turning on push notifications adds a server key, and removing your last push device in Settings deletes it.

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.

Select a level to see how it's locked.

  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.

With push on, the server can open your data without you, so it keeps a second copy of your key locked with a server secret. If someone got both the database and that secret, they could read your Skyward login.

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.