FOSSPicks
Nosey Parker
It doesn't take much effort to search Google or GitHub for API keys and other secrets inadvertently shared with the world. This kind of information is often hidden within files or repositories and shared unwittingly along with whatever files or directories were intended. Those details can be very difficult to track unless you never share anything or keep those things you share separated from the rest of your system. Services such as GitHub can help, and GitHub in particular can scan your uploads automatically for shared keys and secrets, even checking them against known providers to check their validity, but it's far better if you can do this yourself locally. This is what Nosey Parker does.
Nosey Parker is a command-line tool that will look through files, directories, and even your Git history looking for anything it considers a secret. Its definitions for secrets are contained within 95 regular expressions, and these can be edited or expanded upon. The first step in performing an audit is to use the scan
command with an argument for a local data store, to cache the results, and the destination to search. Nosey Parker can reportedly scan 100GB of kernel source code in less than two minutes on an old Mac. The process is fast, but even a scan of a modest project's Git history can take many seconds. But it takes a lot longer to digest the results, because in our experience, they're scary. Even choosing to scan the Git history of a small Git-based project (we won't say which) revealed "25 unique API keys," including three for an AWS API, and numerous passwords – tests or otherwise. The results are summarized in the output, but you can also use the report
argument to dive into a specific result. This will typically include the Git blob, which lines contain the secrets, and the secrets themselves. The results can be terrifying, but used prudently as part of a robust testing system, it could save you or someone else from serious embarrassment.
Project Website
https://github.com/praetorian-inc/noseyparker
Music exploration
coltrane
John Coltrane will need little introduction. He was one of the great jazz composers and performers of the last century and helped transform our expectations of what music can and should be. He did this through both exploration and exposition, experimenting and performing with unique scales and music theory. And it's these last elements of musical study that coltrane
helps to make accessible in a unique and intuitive way from the Linux command line, regardless of whether or not you enjoy avant-garde jazz. It works as both an interactive interpreter and as a command that takes arguments to generate output of musical insights, and it has several modes of operation (pun intended).
At its simplest, coltrane
will take three or more note letters and tell you which chord they are. Entering C, E, and G, for example, will output CM
for C Minor. Chords can optionally be shown on a variety of ASCII-generated representations of guitar, bass, ukulele, and piano finger positions. These representations are very useful if you're learning to play one of the instruments, but they're also excellent for documenting song structures. This is helped by coltrane
's ability to also output scales built from the chords you input, as well as find common scales and chords in the scales themselves along with generated chord progressions. All of this can be output as simple text or as multiple ASCII visual representations, and it looks fantastic if you want to impress anyone with your command-line hacking. There are chord progressions for jazz, blues, and pop, and you can also generate your own custom progressions. If you're at all interested in music, all of this is weirdly compelling, especially from the command line, and can make a useful distraction while you're waiting for some other background process to finish.
Project Website
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.