Blank labels when Keychain prompts for access to items
lox opened this issue · comments
Lachlan Donald commented
Lachlan Donald commented
Lachlan Donald commented
Created with:
kcItem := gokeychain.NewItem()
kcItem.SetSecClass(gokeychain.SecClassGenericPassword)
kcItem.SetService(k.service)
kcItem.SetAccount(item.Key)
kcItem.SetLabel("LABEL " + item.Label)
// kcItem.SetDescription("DESCR" + item.Description)
kcItem.SetData(item.Data)
kcItem.SetSynchronizable(gokeychain.SynchronizableNo)
kcItem.SetAccessible(gokeychain.AccessibleWhenUnlocked)
kcItem.UseKeychain(kc)
kcItem.SetAccess(&gokeychain.Access{SelfUntrusted: !item.TrustSelf})
Lachlan Donald commented
Closed this, as it seems to be related to my SetAccess
call, which is of my own doing presumably.