`op item edit` panics
Is anybody else able to reproduce this? I'm seeing the same behavior when installed with homebrew on macOS, or nix+home-manager on MacOS or NixOS (linux).
I haven't found any other subcommand panics (although I haven't tested thoroughly)
Desktop App version is 8.10.28
CLI is 2.24.0
❯ op --debug item edit $itemName foo=bar 12:17PM | DEBUG | Session delegation enabled 12:17PM | DEBUG | NM request: NmRequestAccounts 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | NM request: NmRequestAccounts 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | account not signed in, filter= latest_signin_user= 12:17PM | DEBUG | NM request: NmRequestAccounts 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | NM request: NmRequestAuthorization 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | NM request: NmRequestAccounts 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | NM request: NmRequestDelegatedSession 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | NM request: NmRequestAccounts 12:17PM | DEBUG | NM response: Success 12:17PM | DEBUG | InitDefaultCache: successfully initialized cache 12:17PM | DEBUG | EncryptedKeysets: Cache hit on keyset 12:17PM | DEBUG | AllVaults: cache hit on vault gmfmxem6r3etdq2i2wuxfj7lda 12:17PM | DEBUG | AllVaults: cache hit on vault fgsvipejgfnien5sdh4tprh6uq 12:17PM | DEBUG | VaultItems: cache hit on vault items of vault fgsvipejgfnien5sdh4tprh6uq 12:17PM | DEBUG | VaultItems: cache hit on vault items of vault gmfmxem6r3etdq2i2wuxfj7lda 12:17PM | DEBUG | VaultItems: cache hit on vault items of vault gmfmxem6r3etdq2i2wuxfj7lda 12:17PM | DEBUG | Item: VaultItems cache hit for vault gmfmxem6r3etdq2i2wuxfj7lda - validating staleness using item version 12:17PM | DEBUG | Item: cache hit on item pycxgn32qaht4sxofzl6anuimm of vault gmfmxem6r3etdq2i2wuxfj7lda 12:17PM | DEBUG | Vault: cache hit on vault gmfmxem6r3etdq2i2wuxfj7lda panic: interface conversion: interface {} is nil, not []interface {} goroutine 1 [running]: go.1password.io/op/core/local/itemvalidator.(*ItemValidator).validateGCMKey(0x1030da980?, 0x140005296e0?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemvalidator.go:468 +0x4c0 go.1password.io/op/core/local/itemvalidator.(*ItemValidator).validateDocumentAttributesStructure(0x1030d90c0?, 0x14000146e10?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemstructurevalidator.go:68 +0x104 go.1password.io/op/core/local/itemvalidator.(*ItemValidator).validateDetailsSectionField(0x1030d91e0?, 0x140001471b0?, 0x14000168700?, 0x1a?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemvalidator.go:369 +0x149c go.1password.io/op/core/local/itemvalidator.(*ItemValidator).validateDetailsSection(0x1030d91e0?, 0x14000147300?, 0x14000523c78?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemvalidator.go:283 +0x1f0 go.1password.io/op/core/local/itemvalidator.(*ItemValidator).validateDetails(0x14000147408?, 0x10295c118?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemvalidator.go:265 +0x1f4 go.1password.io/op/core/local/itemvalidator.(*ItemValidator).Validate(0x140003c0840, 0xb66?) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/local/itemvalidator/itemvalidator.go:110 +0x50 go.1password.io/op/core/b5/api.validateVaultItem({{0x1400080e0c0, 0x1a}, {0x140002ce0f3, 0x3}, 0x0, {0x0, 0x0}, {0x1038d1c30, 0x1}, {0x0, ...}, ...}) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/b5/api/items.go:893 +0xe8 go.1password.io/op/core/b5/api.(*ItemAPI).Update(0x1400027cbe0, 0x14000186000, 0x140006fcf70) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/core/b5/api/items.go:452 +0xa0 go.1password.io/op/op-cli/command.(*itemEditCommand).Run(0x14000408000) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/op-cli/command/item_edit.go:345 +0x5a8 go.1password.io/op/op-cli/command.Bind.func3(0x1?, {0x8020102?, 0x1?, 0x140002d1cd0?}) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/op-cli/command/command.go:71 +0x54 go.1password.io/op/op-cli/command.HandlePipedInput.func1(0x14000406580?, {0x140004178f0, 0x2, 0x3?}) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/op-cli/command/command.go:146 +0x1cc github.com/spf13/cobra.(*Command).execute(0x14000406580, {0x14000417890, 0x3, 0x3}) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/vendor/github.com/spf13/cobra/command.go:844 +0x4c4 github.com/spf13/cobra.(*Command).ExecuteC(0x103955b20) /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/vendor/github.com/spf13/cobra/command.go:952 +0x34c go.1password.io/op/op-cli/command.Execute() /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/op-cli/command/root.go:379 +0x64 main.main() /Users/iosdev/GitLab_CI_Builds/QNhFsVqy/0/dev/b5/op/op-cli/main.go:15 +0x34
1Password Version: 2.24.0
Extension Version: Not Provided
OS Version: macOS 14.3
Browser: Not Provided
0
This discussion has been closed.