https://github.com/boberito/sc_menu
Simple smartcard Menu item
https://github.com/boberito/sc_menu
cryptotokenkit macadmin macos piv smartcards swift
Last synced: about 1 month ago
JSON representation
Simple smartcard Menu item
- Host: GitHub
- URL: https://github.com/boberito/sc_menu
- Owner: boberito
- License: mit
- Created: 2024-02-16T17:20:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-04T01:27:39.000Z (4 months ago)
- Last Synced: 2026-02-04T13:34:07.486Z (4 months ago)
- Topics: cryptotokenkit, macadmin, macos, piv, smartcards, swift
- Language: Swift
- Homepage:
- Size: 6.8 MB
- Stars: 47
- Watchers: 5
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

SC Menu
A lightweight menu application for viewing PIV based smartcards.



# sc_menu
Simple smartcard Menu item
Shows a green smartcard icon when the card is inserted. Shows a blank smartcard icon when the card is not inserted. It also allows you to view the certificates on the smartcard.






If you want to disallow user's from being prompted to update SC Menu or have the ability to check for updates.
SC Menu can be registered and unregistered to load at login
`./SC\ Menu.app/Contents/MacOS/SC\ Menu --register`
* Adds to Login Items
`./SC\ Menu.app/Contents/MacOS/SC\ Menu --unregister`
* Removes from Login Items
SC Menu can be configured by Configuration Profile deployed by your MDM.
**Domain** `com.ttinc.sc-menu`
`disableUpdates` - **Type: Boolean**\
Acceptable Value: **true** or **false**\
Disables "Check for Updates" button and disables the auto-update check on launch.
`showNotifications` - **Type: Boolean**\
Acceptable Value: **true** or **false**\
When mixed with the Notifications payload, it will lock notifications on or off.
`run_on_insert` - **Type: Boolean**\
Acceptable Value: **true** or **false**\
Enables or Disables the ability to run a script on smartcard insertion.
`run_on_insert_script_path` - **Type: String**\
Acceptable Value: **Path to a script**\
POSIX path to a script to run on smartcard insert.
`run_on_removal` - **Type: Boolean**\
Acceptable Value: **true** or **false**\
Enables or Disables the ability to run a script on smartcard removal.
`run_on_removal_script_path` - **Type String**\
Acceptable Value: **Path to a script**\
POSIX path to a script to run on smartcard removal.
`DaysToExpiration` - **Type Integer**\
Acceptable Value: **Integer numbers**\
Sets the value on check for days to notify on certficate expiration. Default is 30 days.
Example mobileconfig
```
PayloadContent
PayloadIdentifier
com.ttinc.sc-menu.26F7424C-FEF3-4E94-8E78-2673B2B8CDD3
PayloadType
com.ttinc.sc-menu
PayloadUUID
26F7424C-FEF3-4E94-8E78-2673B2B8CDD3
PayloadVersion
1
disableUpdates
run_on_insert
run_on_insert_script_path
/Users/Shared/insert-piv.sh
run_on_removal
run_on_removal_script_path
/Users/Shared/myscript.sh
show_notifications
DaysToExpiration
45
PayloadDescription
Disables Updates for SC Menu
PayloadDisplayName
SC Menu Disable Updates
PayloadIdentifier
com.ttinc.sc-menu
PayloadOrganization
BOB
PayloadScope
System
PayloadType
Configuration
PayloadUUID
1BBD23DE-7ED7-45DF-8126-5085A681ED83
PayloadVersion
1
```