Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years agoHow to create a 1Pass LOGIN ITEM from CLI (op cli) with an attached files/document
Hello 1Pass!
I'm trying to figure out procedure of creating a 1Pass LOGIN ITEM from CLI (op cli) with a two files attached.
There are some docs in different places and examples like this: https...
Former Member
3 years agoNote of research for myself:
"sections": [
{
"name": "add more",
"title": "",
"fields": [
{
"t": "",
"n": "n",
"k": "file",
"v": {
"fileName": "fileName",
"unencryptedSize": unencryptedSize,
"encryptedSize": encryptedSize,
"integrityHash": "integrityHash",
"nonce": "nonce",
"encryptionKey": {
"kty": "oct",
"kid": "kid",
"alg": "A256GCM",
"k": "k",
"ext": true,
"key_ops": [
"encrypt",
"decrypt"
]
},
"documentId": "documentId",
"signingKey": {
"kty": "oct",
"kid": "kid",
"alg": "A256GCM",
"k": "k",
"ext": true,
"key_ops": [
"encrypt",
"decrypt"
]
}
},
"inputTraits": {
"autocorrection": "no",
"autocapitalization": "none"
}
},
Now I need to figure out how to populate all of these fields and send the according to 1Pass...