1// Copyright 2015 Keybase, Inc. All rights reserved. Use of 2// this source code is governed by the included BSD license. 3 4// +build darwin,!ios 5 6package libkb 7 8import keychain "github.com/keybase/go-keychain" 9 10func (k KeychainSecretStore) synchronizable() keychain.Synchronizable { 11 return keychain.SynchronizableNo 12} 13 14func (k KeychainSecretStore) accessible() keychain.Accessible { 15 // TODO: Since we access keychain item in launchd service (background), it's 16 // appropriate to use after first unlock, though we should consider using 17 // "when unlocked" to be more secure: keychain.AccessibleWhenUnlockedThisDeviceOnly 18 return keychain.AccessibleAfterFirstUnlockThisDeviceOnly 19} 20 21func (k KeychainSecretStore) accessGroup(m MetaContext) string { 22 // Don't use access group on OS X 23 return "" 24} 25