keychain

package
v0.0.0-...-8a46e9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Package cloudeng.io/macos/keychain

import cloudeng.io/macos/keychain

Package keychain provides support for working with the macos keychain.

Functions

Func ReadSecureNote
func ReadSecureNote(account, service string) ([]byte, error)

ReadSecureNote reads a secure note from a local, non-icloud, keychain. The note may be in plist format if it was created directly in the keychain using keychain access.

Func WriteSecureNote
func WriteSecureNote(account, service string, data []byte) error

WriteSecureNote writes a secure note to a local, non-icloud, keychain.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadSecureNote

func ReadSecureNote(_, _ string) ([]byte, error)

func WriteSecureNote

func WriteSecureNote(_, _ string, _ []byte) error

Types

This section is empty.

Directories

Path Synopsis
Usage of /var/folders/dy/3b1mfs651m1cdwzr6xd9j4dm0000gn/T/go-build1088250169/b001/exe/keychaincmd:
Usage of /var/folders/dy/3b1mfs651m1cdwzr6xd9j4dm0000gn/T/go-build1088250169/b001/exe/keychaincmd:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL