p0deje / Maccy

Lightweight clipboard manager for macOS
https://maccy.app
MIT License
12.57k stars 531 forks source link

Keeps the history of Passwords accessed through the Menu Bar even though it has been entered into Ignore Application #900

Closed ilhamrizkibaharsyah closed 1 week ago

ilhamrizkibaharsyah commented 1 week ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

2.0.1

macOS Version

15.0

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonKeyCode\\":51,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    NSNavPanelExpandedSizeForOpenMode = "{800, 448}";
    NSOSPLastRootDirectory = {length = 628, bytes = 0x626f6f6b 74020000 00000410 30000000 ... 38010000 00000000 };
    "NSStatusItem Preferred Position Item-0" = 250;
    "NSStatusItem Visible Item-0" = 1;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame NSNavPanelAutosaveName" = "1424 615 800 448 0 0 2560 1415 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1927 748 532 460 0 0 2560 1415 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-09-26 23:43:13 +0000";
    SUUpdateGroupIdentifier = 1479010063;
    clearOnQuit = 1;
    clearSystemClipboard = 0;
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.tiff",
        "public.utf8-plain-text",
        "public.png",
        "public.html"
    );
    historySize = 200;
    ignoreRegexp =     (
    );
    ignoredApps =     (
        "com.apple.Passwords",
        "com.apple.keychainaccess",
        "com.apple.Ticket-Viewer",
        "com.apple.Terminal",
        "com.apple.Notes",
        "com.apple.TextEdit",
        "com.apple.AppStore"
    );
    ignoredPasteboardTypes =     (
        "org.nspasteboard.AutoGeneratedType",
        "org.nspasteboard.TransientType",
        "de.petermaurer.TransientPasteboardType",
        "org.nspasteboard.source",
        "com.typeit4me.clipping",
        "Pasteboard generator type",
        "org.nspasteboard.ConcealedType",
        "net.antelle.keeweb",
        "com.agilebits.onepassword"
    );
    menuIcon = maccy;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 0;
    popupPosition = cursor;
    showFooter = 1;
    showInStatusBar = 1;
    showSearch = 1;
    showTitle = 1;
    suppressClearAlert = 1;
    windowSize = "[450,800]";
}

Description

When I want to copy through Password apps via Menu Bar in MacOS, the password is copied but still appears in the clip historyboard even though I have put Password apps into Ignore Application.

Bug_Maccy Ignore Apps

Steps to Reproduce

No response

p0deje commented 1 week ago

The Passwords app doesn't report itself, I think it's a privacy feature:

Screenshot 2024-09-27 at 11 59 01
ilhamrizkibaharsyah commented 1 week ago

What do you mean the Password app doesn't report itself? So even if the password is still stored in the clipboard, is it safe for me?

p0deje commented 1 week ago

I mean that when Maccy attempts to determine which app the copy is coming from, Passwords app doesn't identify itself properly and calls itself a generic WindowManager.

ilhamrizkibaharsyah commented 1 week ago

Oh..... is that why when I try to identify Password app using Pasteboard Viewer, the result is generic utf-8 plain text ?

p0deje commented 1 week ago

If you look at the bottom left corner of Pasteboard Viewer, it should show you the application that the copy is coming from.

ilhamrizkibaharsyah commented 1 week ago

Well then, hopefully in the future this problem can be resolved