update deps

This commit is contained in:
Aaron Bieber 2023-12-09 15:47:30 -07:00
parent 3b05d8c85d
commit 1f42439703
No known key found for this signature in database
5 changed files with 6 additions and 12 deletions

6
flake.lock generated
View File

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1674868155,
"narHash": "sha256-eFNm2h6fNbgD7ZpO4MHikCB5pSnCJ7DTmwPisjetmwc=",
"lastModified": 1688392541,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ce20e9ebe1903ea2ba1ab006ec63093020c761cb",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
"type": "github"
},
"original": {

View File

@ -21,7 +21,7 @@
version = "v0.0.0";
src = ./.;
vendorSha256 = "sha256-5XxgYk1zkH9Txsb/A4s/zUdBKRaOzAHOxD58cqEV4ck=";
vendorHash = "sha256-5XxgYk1zkH9Txsb/A4s/zUdBKRaOzAHOxD58cqEV4ck=";
proxyVendor = true;
};
});

5
go.mod
View File

@ -2,7 +2,4 @@ module suah.dev/po
go 1.13
require (
golang.org/x/sys v0.3.0 // indirect
suah.dev/protect v1.2.1
)
require suah.dev/protect v1.2.1

3
go.sum
View File

@ -1,7 +1,4 @@
golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
suah.dev/protect v1.2.0 h1:4G4V43yVYXCjLFzaE9QJR0fLo3rf5vNBS9YxyoI19DU=
suah.dev/protect v1.2.0/go.mod h1:Ocn1yqUskqe/is6N2bxQxtT+fegbvQsOFyHbJAQu9XE=
suah.dev/protect v1.2.1 h1:Z0hnyMALzIEOrh0omfU5TfWVvofaujZ8/ktV8tuKW2U=
suah.dev/protect v1.2.1/go.mod h1:hB/m1oUsJfZYvbdycF1FWePCFCvCnOv2Frj/G9QA8JA=

View File

@ -45,7 +45,7 @@ func msg(msg interface{}) {
}
func main() {
protect.Unveil("", "")
protect.Unveil("/etc/ssl", "r")
protect.Pledge("stdio inet dns rpath")
protect.UnveilBlock()