Questions tagged [1password]

21 questions
14
votes
3 answers

Git commit "error: Could not connect to socket. Is the agent running? fatal: failed to write commit object" after reverting from 1password ssh-agent

Couldn't find the answer to this anywhere but finally figured out the problem and wanted to share the solution. Problem: After using 1Password ssh agent, trying to git commit through a terminal on a Mac yields the following error: error: Could not…
Ohmnitude
  • 161
  • 1
  • 7
13
votes
2 answers

Not able to disable 1Password extension on input fields

I have a form, with some simple input fields. In some of them the 1Password Extension gets triggered and the popup shows up. And in some cases the popup does not get triggered. I can't find any reason why it would trigger on these specific input…
matsch
  • 281
  • 4
  • 14
4
votes
0 answers

Flutter autofill password with 1password not working for Android devices

AutofillGroup( child: Column(children: [ AutofillGroup( child: Column( children: [ TextField(autofillHints: [ AutofillHints.username, ]), TextField(autofillHints:…
Martin
  • 91
  • 1
  • 3
4
votes
1 answer

How does the 1Password Chrome Extension achieve rounded corners?

There are many (1 2 3) answers on Stackoverflow saying a Chrome extension cannot have rounded corners when opened, and yet... The 1Password extension does. I've noticed the extension is draggable unlike other extensions, and I've noticed I can't…
3
votes
1 answer

How can I handle an input prompt with node when executing a command via child_process?

For context, I'm on a Mac and I'm trying to script a 1Password CLI signin via their command-line tool. I'm trying to programmatically sign in using a command that looks like: op signin --output=raw and…
edhedges
  • 2,722
  • 2
  • 28
  • 61
2
votes
1 answer

1Password CLI (op): Cannot get the `--session` flag to work with any commands

I cannot get the --session flag to work with 1Password CLI commands. I use a valid session token. Working Example op list items without session flag works: $ OP_SESSION_my=XXXXX-this-is-not-the-real-token-XXXXX op list items [{"uuid": "asdfghj etc…
Bean Taxi
  • 1,104
  • 1
  • 9
  • 22
2
votes
1 answer

How to make Chrome Extension popup draggable?

I noticed that the 1password chrome extension browser action popup is draggable. How can I make my own chrome extension do the same thing? I can't seem to find anything in the chrome extension docs. A few other features the 1password chrome…
Eric Chen
  • 45
  • 2
  • 6
1
vote
3 answers

Cannot run `op` from Go application

I am trying to write a small Go wrapper application around the 1Password CLI executable op like so: package main import ( "fmt" "log" "os/exec" ) func main() { op := exec.Command("op", "item", "list") out, err := op.Output() …
wheeler
  • 2,823
  • 3
  • 27
  • 43
1
vote
1 answer

Authenticate using GitLab CLI (glab) with 1Password and 1Password CLI

I've followed all the steps from 1Password's documentation on setting up authentication with glab (GitLab CLI). Authentication works with commands like glab repo list, returning a list of repositories from my company's self-hosted GitLab server. My…
Alex
  • 1,293
  • 1
  • 13
  • 26
1
vote
2 answers

How to set up the 1Password SSH agent for Gitkraken?

Although Gitkraken is compatible with 1Password, this is not working out of the box even with Use local SSH agent option checked in Preferences. https://developer.1password.com/docs/ssh/agent/compatibility/#gitkraken
VeeeneX
  • 1,556
  • 18
  • 26
0
votes
1 answer

OnePassword task kicking back invalid item type during playbook

Having an issue with a test playbook I am working on to pull various secrets from our company 1Password vault. I can pull secrets via the 1Pass CLI so its not a permissions / network / application issue. Just something with my sample play. --- -…
Moridn
  • 35
  • 6
0
votes
0 answers

Question about how to use 1password within playbooks

Im extremely new to Ansible, so please excuse all of the mistakes Im about to make in this post. I have a handful of linux servers at work and I want to use ansible to update them regularly. We use 1password, and I have the 1password CLI installed…
0
votes
0 answers

Onepassword_item error terraform plan "status 401: Authentication: (Invalid token signature), Each header's KID must match the KID of the public key"

I have a kubernetes cluster running on google cloud. This cluster has a op_connect_server up and running and I am trying to use terraform to create the items on some specific vaults. To be able to run it locally, I am port-forwarding the port 8080…
0
votes
1 answer

In a PowerShell script using 1passsword cli, how can I automate the login with no user action, filling in the password automatically

I'm working on a PowerShell script with the 1Password CLIv2. I need it to login automatically. The command I'm using is: Invoke-Expression $(op signin) Right now it stops here: PS C:\Users\MyDirectory\Downloads> .\Test.ps1 Enter the password for…
0
votes
0 answers

Is it possible to use 1password for Terraform provider credentials?

I'm trying to setup a Terraform configuration for Sonatype Nexus (among other things). Rather than providing my passwords directly, I want to get them from my 1Password system. The advantage for doing this is this Terraform config will live with…
craigmiller160
  • 5,751
  • 9
  • 41
  • 75
1
2