bastion 0.58.0
ci / personal-data (push) Successful in 4s
ci / test (push) Successful in 4m5s
ci / fuzz (push) Successful in 4m10s

This commit is contained in:
Privatae
2026-10-29 15:54:51 +00:00
parent 081763a675
commit 01889e2a48
37 changed files with 5629 additions and 90 deletions
+5
View File
@@ -995,6 +995,11 @@ func cmdPinDevice(key string, unpin bool) error {
return err
}
fmt.Println("device key unpinned; approvals signed by it are refused from now on")
// Every op grant it approved dies with it (ops_bounds.go), dropped
// now so pinning the key again does not bring one back.
if n := opsDropApprovedBy("device:" + strings.TrimSpace(key)); n > 0 {
fmt.Printf("%d op grant(s) it approved dropped\n", n)
}
return nil
}
if err := pinDeviceKey(key); err != nil {