Buy me a coffee (opens new window) DE · DeutschDA · Dansk

← Counterglow overview

Sign-in and security keys

Every account has a second factor. Since 1.8.0 it can be a key you touch.

Sign-in and privacy

Every account signs in with its password and a code from an authenticator app. There is no way around it, readers included.

  • Security keys and passkeys

    New in 1.8.0: besides the code, sign in with a YubiKey or another FIDO2 key, or with the passkey of a phone or laptop — one touch, and it only answers your own site. Why that is better, and which key fits: below.

  • Two-factor for everyone

    Set up right after the password, with a QR code that Counterglow draws itself (no library, no external service), the key to type in and an otpauth link.

  • Recovery codes

    Ten codes, shown once and stored hashed. A code works only once; after five wrong codes the password is needed again.

  • App passwords

    Reading apps cannot enter codes, so each app gets its own password for the OPDS catalogue, named and revocable one by one.

  • Private from the start

    During set-up you choose who can see the website: everyone, everyone except private pages, or only signed-in people. Single pages can be set to private in the editor.

  • Hardened private mode

    Caches are kept apart by access mode, dotfiles are blocked, and exporting a private site needs a confirmation.

Two-factor setup right after creating the first account: a QR code drawn by Counterglow, the key to type in, an otpauth link and the code field.
Two-factor setup right after creating the first account: a QR code drawn by Counterglow, the key to type in, an otpauth link and the code field.
Ten one-time recovery codes, shown only once, with download and copy buttons.
Ten one-time recovery codes, shown only once, with download and copy buttons.
The setup question “Who can see the website?” with public, public except private pages, and sign-in only.
The setup question “Who can see the website?” with public, public except private pages, and sign-in only.
A new app password for KOReader, shown once, and the list of apps with Revoke buttons.
A new app password for KOReader, shown once, and the list of apps with Revoke buttons.

Security keys and passkeys

A code from an app is good; a key is better. Since 1.8.0 every account can add security keys and passkeys under Your account → Security keys & passkeys, and at the code step a button Use your security key appears — in the panel and on /login.

  • Phishing does not work

    A key signs only for the site it was registered on. A look-alike sign-in page gets nothing it could use — unlike a six-digit code, which a person can be tricked into typing anywhere.

  • One touch

    No app to open, no code to copy before it runs out. Plug the key in or hold it to the phone, touch it, and you are in.

  • Nothing to charge, nothing to lose with the phone

    A key has no battery and no apps. If the phone goes, the key still works — and the authenticator app stays as the other way in.

  • Ten per account

    Give each key a name, register a spare, and remove one on its own when it is lost. Passkeys of a phone or laptop work the same way.

  • No library, no service

    system/core/WebAuthn.php reads what the key sends and checks challenge, origin, the site's host, presence, signature and counter. Nothing leaves your server.

Free, and it stays that way

Counterglow costs nothing and has no paid edition. If it saves you time, a coffee helps keep it going.

Buy me a coffee ↗ (opens new window)

Read the code, keep the folder.

Questions, ideas or bug reports? Write to me. hello@gerber.media