Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
github.com/joseffilzmaier/golang-wpasupplicant
Golang interface for talking to wpa_supplicant.
At the moment, this simply provides an interface for fetching wifi scan results. More functionality (probably) coming soon.
import (
"fmt"
"pifke.org/wpasupplicant"
)
// Prints the BSSID (MAC address) and SSID of each access point in range:
w, err := wpasupplicant.Unixgram("wlan0")
if err != nil {
panic(err)
}
for _, bss := range w.ScanResults() {
fmt.Fprintf("%s\t%s\n", bss.BSSID(), bss.SSID())
}
If you use this library in your own code, please use the canonical URL in your Go code, instead of Github:
go get pifke.org/wpasupplicant
Or (until I finish setting up the self-hosted repository):
# From the root of your project:
git submodule add https://github.com/dpifke/golang-wpasupplicant vendor/pifke.org/wpasupplicant
Then:
import (
"pifke.org/wpasupplicant"
)
As opposed to the pifke.org URL, I make no guarantee this Github repository will exist or be up-to-date in the future.
Available on godoc.org.
Three-clause BSD. See LICENSE.txt.
Contact me if you want to use this code under different terms.
Dave Pifke. My email address is my first name "at" my last name "dot org."
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.