Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
fernandog
2 years agoDedicated Contributor
Feature Request: Add length next to Password strength
I have to copy and past the password to notepad++ to see the password length and it's a hassle (not a progress bar, the exact length). And, If possible, add a new sort option to sort by password leng...
fernandog
2 years agoDedicated Contributor
Powerless I end up writing a 1password CLI script to create a tag for Logins item with password length less than 25. Now I can know which items to update the password. When I update it, I remove the tag. Will take time to update all, but at least now I have a easy way to manage those items.
if you like programming, you can try it on Powershell:
```powershell
$json = op item list --categories Login --format json | ConvertFrom-Json
$ids = $json | ForEach-Object { $_.id }
foreach ($id in $ids) {
$item = op item get --format json $id | ConvertFrom-Json
$title = $item.title
foreach ($field in $item.fields) {
if ($field.id -eq "password" -and $field.value -ne $null -and ($field.value.Length -gt 0 -and $field.value.Length -le 24)) {
op item edit $id --tags "<25"
Write-Host $title "updated - Len: " $field.value.Length
}
}
}
```