Skip to content

Commit

Permalink
Add a deprecation notice to pkg/keyctl.
Browse files Browse the repository at this point in the history
We neither need nor want to expose and maintain the keyring as an independent
public API.

Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Aug 5, 2019
1 parent 64b622c commit a0ed68e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/keyctl/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
// +build linux

// Package keyctl is a Go interface to linux kernel keyrings (keyctl interface)
//
// Deprecated: Most callers should use either golang.org/x/sys/unix directly,
// or the original (and more extensive) github.com/jsipprell/keyctl .
package keyctl

import (
Expand Down

0 comments on commit a0ed68e

Please sign in to comment.