Skip to content

[Bug]: biometric authentication was lost upon PN upgrade #1078

Done

Description

@snogglefromp

What happened?

Prior to updating to the current v0.921.8 (macOS app), I had biometric authentication enrolled in the app so that I can unlock notes.

The in-app upgrade notification appeared and I clicked it. Upon restart, I went to a protected note and was prompted for my PIN rather than biometric. I had to enrol biometric again, after which I could then unlock notes using Apple's Touch ID.

How do we make it happen?

It could be that because I have installed PrivacyNotes via Homebrew, and when the app did an in-place upgrades the biometric unlock was lost.

Interestingly, although the app indicates that the version is v0.921.8, Homebrew reports the previous version.

$ brew info privacynotes
==> privacynotes ✔ (PrivacyNotes): 0.864.3 (auto updates)
End-to-end encrypted notes, tasks, files, journal, passwords and bookmark sync
https://privacynotes.app/
Installed (on request)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/p/privacynotes.rb
==> Installed Versions
privacynotes ✔ 0.864.3 (48.1MB)
==> Requirements
Required: macOS >= 13 ✔
==> Apps
PrivacyNotes.app
==> Downloading https://formulae.brew.sh/api/cask/privacynotes.json
==> Analytics
install: 98 (30 days), 125 (90 days), 125 (365 days)

I then performed a brew upgrade and brew reports:

$ brew info privacynotes
==> privacynotes ✔ (PrivacyNotes): 0.921.8 (auto updates)
End-to-end encrypted notes, tasks, files, journal, passwords and bookmark sync
https://privacynotes.app/
Installed (on request)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/p/privacynotes.rb
==> Installed Versions
privacynotes ✔ 0.921.8 (48.1MB)
==> Requirements
Required: macOS >= 13 ✔
==> Apps
PrivacyNotes.app
==> Analytics
install: 98 (30 days), 125 (90 days), 125 (365 days)

On another Mac, where I had previously downloaded the PrivacyNotes DMG and drag/dropped the app to the Applications folder, I did the same with the current v0.921.8 (macOS app) release, and upon startup I was prompted for Touch ID to unlock the app.

So perhaps the loss of biometrics is limited to Homebrew installations where the in-app upgrade occurs, however brew upgrade hasn't yet happened, however I can't be sure.

Apologies for not having definite repro steps.

Version

v0.921.8 (macOS app)

Where?

Mac app

Activity

  1. added
    bug
    on Dec 1, 2026
  2. LifetimeLabsDev commented on Dec 2, 2026

    @LifetimeLabsDev
    Collaborator

    Thx for the report! We checked and nothing in biometrics or the updater changed between those versions, and the Homebrew cask installs the same app as the DMG (FYI brew info showing the older version after an in-app update is normal for auto-updating casks).

    The only thing that clears Touch ID by itself while keeping you signed in is macOS invalidating the Secure Enclave key - e.g. if a Touch ID fingerprint was added/removed or after a macOS update. Did either happen on that Mac around the same time, or did it just drop on its own? Pls let us know if it happens again w/ the next update so we can dig deeper.

  3. snogglefromp commented on Dec 2, 2026

    @snogglefromp
    Author

    The only thing that clears Touch ID by itself while keeping you signed in is macOS invalidating the Secure Enclave key - e.g. if a Touch ID fingerprint was added/removed or after a macOS update. Did either happen on that Mac around the same time, or did it just drop on its own?

    The biometric enrolment dropped on its own.

    I literally saw the in-app update notification and clicked to upgrade. A few seconds later PrivacyNotes restarted and shortly after I noticed that I was being prompted for my PIN rather than biometrics. I checked the PrivacyNotes settings page and that indicated if I would like to enrol for fingerprint or face.

    There was no macOS update or modifying the allowed fingerprints for Touch ID.

    Though thanks for investigating as the behaviour was unexpected!

  4. LifetimeLabsDev commented on Dec 2, 2026

    @LifetimeLabsDev
    Collaborator

    Thx for confirming! If you don't mind, pls paste your Support report (Settings > ID & Sync > Support report - it's safe to post publicly, no notes or secrets) in case the restart left an auth event in there.

    We also just added biometric diagnostics to that report for the next app update, so if Touch ID ever drops again on an update we'll see the exact reason right away.

  5. snogglefromp commented on Dec 2, 2026

    @snogglefromp
    Author

    I'm attempting to obtain the Support Report from the macOS app and the details don't copy. I am clicking on the button, though nothing happens:

    app.mp4

    Interestingly, when I use the web app, the details copy:

    web.mp4

    We also just added biometric diagnostics to that report for the next app update, so if Touch ID ever drops again on an update we'll see the exact reason right away.

    That's an excellent idea!

  6. LifetimeLabsDev commented on Dec 2, 2026

    @LifetimeLabsDev
    Collaborator

    Weird, we're on macOS as well and it works for us. Are you on the latest version? Can you pls attach the support report here now?

  7. snogglefromp commented on Dec 2, 2026

    @snogglefromp
    Author

    Yes, I'm on latest:

    image

    I have also quit the app and restarted it a few times. Unfortunately the Support report button isn't responding.

  8. LifetimeLabsDev commented on Dec 2, 2026

    @LifetimeLabsDev
    Collaborator

    Thx for the clip, sry about that! Support report was waiting on a quick local database read before copying, which made macOS WebKit drop the click permission and silently block the copy.

    Fixed now so it copies right inside the click (w/ a fallback too) - live on https://beta.privacynotes.app in a few min/hrs, and in the Mac app w/ the next update. FYI only the recovery phrase sign-in works on beta, and no need to paste the web report since the Mac app keeps its own local log.

  9. snogglefromp commented on Dec 2, 2026

    @snogglefromp
    Author

    Maybe this is unrelated, however I thought I'd sign out of the mac app then log in again to clear any state.

    First I made sure that everything was sync'd:

    output.mp4

    Upon signing out I see this warning:

    image

    And looking carefully, the sync indicates 162 items synced. When comparing with the server there are 163 items.

    Maybe I have a state mismatch somewhere.

    I have backups so I don't mind if an item was lost. I signed back in and both match at 162 items, though I was unable to obtain the Support report (I'll wait for the next release).

    In saying that, is it possible to indicate to the user which file hasn't synced?

  10. LifetimeLabsDev commented on Dec 2, 2026

    @LifetimeLabsDev
    Collaborator

    No state mismatch there - the 162 was just the cached count from your check two minutes earlier ("Sync now" doesn't refresh that line, only Compare with server does). Both sides matched at 163, and the extra item was a standalone file whose upload the server had permanently refused (usually over the size limit). Settings > ID & Sync only checked files still queued to upload, so it showed Synced, while sign-out checks refused files too and cleaned up that unbacked entry when you confirmed - leaving both sides at 162.

    In saying that, is it possible to indicate to the user which file hasn't synced?

    Added this now: the sign-out warning lists the unsynced file names, and Settings > ID & Sync plus the sync icon now show refused files as Not backed up with an Open button to jump straight to them.

    Live on https://beta.privacynotes.app in a few mins (recovery phrase sign-in only, or try https://beta.privacynotes.app/demo) and in the apps with the next update. Have a look on beta if you want anything tweaked before release.

  11. snogglefromp commented on Dec 2, 2026

    @snogglefromp
    Author

    Building it now

    As developers, you are amazing!

    I am honestly impressed with the speed that bugs are fixed along with features that are accepted, developed, and released. PrivacyNotes is really great!

  12. added
    needs-info
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions