Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Resource is completly bugged #32

Closed
lfkdev opened this issue Aug 9, 2023 · 13 comments · Fixed by #33
Closed

Create Resource is completly bugged #32

lfkdev opened this issue Aug 9, 2023 · 13 comments · Fixed by #33
Assignees
Labels
bug Something isn't working

Comments

@lfkdev
Copy link

lfkdev commented Aug 9, 2023

Describe the bug:
When creating a new ressource, using:
passbolt create resource --name "delme4" --username "hi" --uri "wow.de" --password="1"

the created resource then has a JSON entry with the password itself in the password field:

image
? It goes even further, when updating the value then with:
passbolt update resource --id 940be140-6981-4d5a-bb7b-9cb64fe5bf7d -p "123"
This seems to work, but only until I try to pull the ressource 'delme4' with the ansible lookup plugin, which will throw an JSON Error when the resource got created over the go-passbolt-cli :

{
  - msg: An unhandled exception occurred while running the lookup plugin 'anatomicjc.passbolt.passbolt'. Error was a <class 'json.decoder.JSONDecodeError'>, original message: Expecting value: line 1 column 1 (char 0). Expecting value: line 1 column 1 (char 0)
}

Maybe something in my Setup is wrong? Everything else works as excepted (pulling/listening resources for example)

When adding a description:
image

To Reproduce:
Just run passbolt create resource --name "delme4" --username "hi" --uri "wow.de" --password="1"

Output when using --debug (you should censor this):

[go-passbolt] Request URL: https://passbolt.ourcompany.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"[...]"}}
[go-passbolt] Raw Response: {"header":{"id":"9df6debe-3b81-4156-b68d-1be7dba0fd0e","status":"error","servertime":1691574912,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"The authentication failed.","url":"\/auth\/login.json?api-version=v2","code":200},"body":null}
[go-passbolt] Got Encrypted Auth Token: -----BEGIN\+PGP\+MESSAGE-----%0A%0AhQGMAwpEPpj1V9HEAQv7Bh[....]jYN%0Am5TfeJjk92CP2mQ%3D%0A%3Dvdfz%0A-----END\+PGP\+MESSAGE-----%0A
[go-passbolt] Decrypted Auth Token: gpgauthv1.3.0|36|45658f[...]-d7f274b4bca5|gpgauthv1.3.0
[go-passbolt] Request URL: https://passbolt.dc-company.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7[...]e9cc94dc39","user_token_result":"gpgauthv1.3.0|36|45[...]81-d7f274b4bca5|gpgauthv1.3.0"}}
[go-passbolt] Raw Response: {"header":{"id":"ea06156e-d874-4477-bae0-8c264236313a","status":"success","servertime":1691574912,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"You are successfully logged in.","url":"\/auth\/login.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-company.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-company.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB\/xPjNg\/2Ez5[...]/f5IbgDQE+VMeavO9mFMyDT82OpNk\n6ZbtL7RnhQHdiICWjUCujMMW3gFET0ywb6QyBHU03dMEwYQL5zKYRiIo8LZr\nDyNHAePrtnc6SBh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"last_logged_in":null}}
[go-passbolt] Got Cookies: [passbolt_session=meoprvli1sr4ltqlf52a6ake0e; Path=/; HttpOnly; Secure; SameSite=Lax]
[go-passbolt] Request URL: https://passbolt.ourcompany.com/users/me.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"c2ee9ceb-397f-4c84-80a5-7807dccdd62f","status":"success","servertime":1691574912,"action":"881ab948-e40f-5a72-91aa-54b442270029","message":"The operation was successful.","url":"\/users\/me.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c[...]a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-company.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-company.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB[...]UCujMMW3gFET0ywb6QyBHU03dMEwYQL5zKYRiIo8LZr\nDyNHAePrtnc6SBh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"is_mfa_enabled":false,"last_logged_in":null}}
[go-passbolt] Request URL: https://passbolt.ourcompany.com/resource-types.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"60588a92-cdbb-4ceb-8bbc-9740a5de34ac","status":"success","servertime":1691574912,"action":"e2aa01a9-84ec-55f8-aaed-24ee23259339","message":"The operation was successful.","url":"\/resource-types.json?api-version=v2","code":200},"body":[{"id":"a28a04cd-6f53-518a-967c-9963bf9cec51","slug":"password-and-description","name":"Password with description","description":"A resource with the password and the description encrypted.","definition":{"resource":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255},"username":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"uri":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]}}},"secret":{"type":"object","required":["password"],"properties":{"password":{"type":"string","maxLength":4096},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}]}}}},"created":"2023-05-29T11:52:56+00:00","modified":"2023-05-29T11:52:56+00:00"},{"id":"669f8c64-242a-59fb-92fc-81f660975fd3","slug":"password-string","name":"Simple password","description":"The original passbolt resource type, where the secret is a non empty string.","definition":{"resource":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255},"username":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"uri":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}]}}},"secret":{"type":"string","maxLength":4096}},"created":"2023-05-29T11:52:56+00:00","modified":"2023-05-29T11:52:56+00:00"}]}
[go-passbolt] Request URL: https://passbolt.ourcompany.com/resources.json?api-version=v2
[go-passbolt] Raw Request: {"name":"delme5","uri":"wow.de","username":"hi","resource_type_id":"669f8c6[...]60975fd3","resource_type":{},"secrets":[{"data":"-----BEGIN PGP MESSAGE-----\nVersion: GopenPGP 2.5.0\nComment: https://gopenpgp.org\n\nwcDMA[...]----END PGP MESSAGE-----"}]}
[go-passbolt] Raw Response: {"header":{"id":"23084[...]85681034b","status":"success","servertime":1691574912,"action":"ad8bbc35-6435-538e-b1a7-80b87bcedb6a","message":"The resource has been added successfully.","url":"\/resources.json?api-version=v2","code":200},"body":{"id":"612589e4-6a0b-467d-a85a-d0cdaa5ed7d3","name":"delme5","username":"hi","uri":"wow.de","description":null,"deleted":false,"created":"2023-08-09T09:55:12+00:00","modified":"2023-08-09T09:55:12+00:00","created_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","modified_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_type_id":"669f8c64-242a-59fb-92fc-81f660975fd3","favorite":null,"modifier":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","last_logged_in":null},"creator":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","last_logged_in":null},"secrets":[{"id":"cfde93d6-04c4-4ee0-acc7-cf1872edab0d","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_id":"612589e4-6a0b-467d-a85a-d0cdaa5ed7d3","data":"-----BEGIN PGP MESSAGE-----\nVersion: GopenPGP 2.5.0\nComment: https:\/\/gopenpgp.org\n\nwcDMAwpEPpj1V9HEAQv+NilqfkhWP2WziAx8+sXQMKKe8oVedkfjSajjeeUK2FkH\nwlu5RFUA+N2yEpHEYejuaYNkrXWxbK861[...]vYVwipehgtFbMdtfdBqmnagNtnwova5M1dXFhXsmbMtIZ9hwbwR5IbIErXTB\nj771zXx236MfGjIbChuN98uypsRBXa9O7oc8azMD4ZHDD1HLN2v6EBfMv63vWW1Y\nRbmnRlHGioaw8EPT\/FBFKrrJcO4TN3\/KWNwyfyANmc6izhBJ+xRrgZXTTb4iCQsX\nVDl2xGxmZkj+1Y79xk9mJ4sWpH1QCMbiVMhtyVpvAqK7zCJ\/lo\/NQN+bhkUUCz0N\nwD7HcwhueoM=\n=VGuF\n-----END PGP MESSAGE-----","created":"2023-08-09T09:55:12+00:00","modified":"2023-08-09T09:55:12+00:00"}],"permission":{"id":"a74a4816-612c-419e-bc48-29142cb438b4","aco":"Resource","aco_foreign_key":"612589e4-6a0b-467d-a85a-d0cdaa5ed7d3","aro":"User","aro_foreign_key":"1a18252c-b31d-474c-8e43-a8a35d250fcd","type":15,"created":"2023-08-09T09:55:12+00:00","modified":"2023-08-09T09:55:12+00:00"},"folder_parent_id":null,"personal":true}}
ResourceID: 612589e4-6a0b-467d-a85a-d0cdaa5ed7d3
[go-passbolt] Request URL: https://passbolt.ourcompany.com/auth/logout.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"55ce4ab6-bcd9-4b87-a98f-8f2c249f6036","status":"success","servertime":1691574912,"action":"19f9a792-3495-597b-bc94-dff1bc3e3967","message":"You are successfully logged out.","url":"\/auth\/logout.json?api-version=v2","code":200},"body":null}

Passbolt Server Version (please complete the following information):

  • Edition: Community
  • Version 4.1.2

go-passbolt-cli Version (please complete the following information):

  • OS: Ubuntu 20
  • Version 0.2.0
@lfkdev lfkdev added the bug Something isn't working label Aug 9, 2023
@speatzle
Copy link
Collaborator

speatzle commented Aug 9, 2023

With how the UI behaves this seems like the resource_type_id is missing from the create request but in the debug log it is clearly there, even in the servers response.

I will look at this in the Evening when i have some time.

@speatzle
Copy link
Collaborator

Hi, could you run some Tests for me?

  • Create a new Password with a Description via the UI.
  • Get the new Resource via the CLI with passbolt get --id (you can see the resources id in the browsers url if it is selected in the list).
  • Change the Resource's Password or Description via the CLI.
  • Take a Screenshot of the Resource in the UI.

Please also Attach the CLI debug logs for the Get and Update.

@lfkdev
Copy link
Author

lfkdev commented Aug 10, 2023

@speatzle sure!

image

$ passbolt get resource --id 81dd118b-7a0e-41c5-ae96-e9d2662480db --debug

Using config file: /root/.config/go-passbolt-cli/go-passbolt-cli.toml
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/verify.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2665dbe2921a656046e9cc94dc39","server_verify_token":"-----BEGIN PGP MESSA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n+I80H8ofPERAN\nJcgUyA9iNqV8I0Sx0PRwYZJ8gZypSIe64q4r9fQSaD57z8xSKKCnYjSGRqC02xQc\ni6Sw9GtIBAtjHiwnQt//j5BmCnpH8HvFMpUqJIjH1a8Haqut6u1IVsURuYHLp+JL\nBgG+Age7cg9FEVsqnVt+EfIQYEUW1nsrQhqG0Fw2H/Q3pXXQ0atLFO4roLZ7Det+\nZTmoDA6oW7G/uXdC8SDtZPH4/eAMWgCC/OyJZbJdodUIVWkby89osKnFlsxs/Foe\nPUsZZfA1QzZQszM=\n=itKf\n-----END PGP MESSAGE-----"}}
[go-passbolt] Raw Response: {"header":{"id":"615a00b7-ba33-42ab-81ab-fbb843b504fd","status":"error","servertime":1691665964,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"The authentication failed.","url":"\/auth\/verify.json?api-version=v2","code":200},"body":null}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2665dbe2921a656046e9cc94dc39"}}
[go-passbolt] Raw Response: {"header":{"id":"f8b1a096-5b8d-484a-a6fa-709ca34a9852","status":"error","servertime":1691665964,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"The authentication failed.","url":"\/auth\/login.json?api-version=v2","code":200},"body":null}
[go-passbolt] Got Encrypted Auth Token: -----BEGIN\+PGP\+MESSAGE-----%0A%0AhQGMAwpE[..]7OWpX%2B%0A8twp3tgxGfuMhMVGRCJmDpis63CQJCLrcoyvzqgQSnuiq1WquXcHt0CZ8zY3E5i2%0A6yH7U0bLTdvTF%2F8ym5i%2F9%2BCxQPp1YsgNDtA18aIx1eH9TU5k29mfbULjnzoFJAJg%0Am0SMl9VWkijCNrngjiTNp2PfZX%2BS6TTsJrDFwJwe3GbyihZCnQdivcFe0A7H9Cu0%0AMQNjvViIr7a7g8bLsnVeMqcFwgQQxo8RUMEtA9%2Fk5DHQTiRZlORwiCNQfHotQShe%0ALh1zjMD2c9hdhE1HpXlaJd5mLzmCCwyOq4Z0WwFu3%2B[..]D%2BAr7RrJkSmk3UGVMgVmeSngGkA%0AFrEGuvT2jc8C7Aj7dZadAF9jfjFgI63x0lEcviX3ghFv%2FQaaLOkwCWOVQC3btJSY%0AdC9XxT7xjnBE19I%2BjTivj4DIYIq1OUZ1FgFqGppFLApNZMZRdfDEOgLpdr9tyAt4%0Avy2G5Cs7a%2BPR2iP0Mlc27Aj%2Bn5iUFW5gnqnmFe3rUnWZ33hfVY0zbJDjFgbvcryU%0AkrtnUPrnbfypsdNLzamKewWE6Me5jkXoFLdqLmzf2n7tX6TxLskaHj1Cvj72wJ8K%0ANOQSm0GVtHqGjE%2FlD8gMyH%2FVjhBeN09isqYE21f9mTpf%2BYimOpe5sd%2B7L%2BDf4pcW%0AEIUP2HUy5KUG9ZH2vEHkVbvz5KQyB%2FCx1O3cCIrlm3wlrx%2FrEAlyUtqWaR0NL7xm%0A0HTq6fVuWiOVOis4zejFSQ%2B9Q7W%2BjYiQADdtldSD7jmV%2Fg2fW0HDY9F%2Bh0UpiqDN%0AycqYV8iu09aqkSSJJeHvp7%2FTT8WJ77C3Zaz41E%2FDWjy9rlWJ4fM3VOT7UuUoBDjN%0AKUHw5c8DXlFX0NUQrieVQKx2rMBYt1Dk3rT0ggMSXIyHdK5AmIXdaGkdlSVzSrSX%0Abzk9He2DE3FBQ57%2FVqP42uK3GL83pfSd720j9BV0HpBue9CxoxH9aid2Wela%2BF35%0A%2B24gg%2BGIAUgcVr8%3D%0A%3DrlX8%0A-----END\+PGP\+MESSAGE-----%0A
[go-passbolt] Decrypted Auth Token: gpgauthv1.3.0|36|80454d73-fc6d-48a6-95e9-231510a422aa|gpgauthv1.3.0
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2[..]656046e9cc94dc39","user_token_result":"gpgauthv1.3.0|36|80454d73-fc6d-48a6-95e9-231510a422aa|gpgauthv1.3.0"}}
[go-passbolt] Raw Response: {"header":{"id":"ff1add61-9d79-4b40-af2f-a64e91af05da","status":"success","servertime":1691665964,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"You are successfully logged in.","url":"\/auth\/login.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB\/xPjNg\/2Ez5W6Xe+n\no9rGEHr+iQaMgurvcOuHXCS+xi\/UfTZhSJ2k8\/o8kr\/kIMrTkYo4dXx8rPHK\niOvfMiapibTCDvpAzCyptzSulkz6ueA6ve2SePskt+ldTsgm+MPZIjAiJgzx\nt\/GdU5iQk\/jBsEJOemSKO49rP1YNKQVEHaVzHkiOiGhLBa1PbCuugHQWLCJD\nNkcJ2DiKE8CXvkqMBOuvhmHkNBqsxq9HAbdkabU884cbwUmkuszmHvcxr2hI\nKfbK2aQnKhQqLbYPzs87O74n0IX9bEQOAqjZkuBRwaGCg6N7qXbNMEEpYZmn\nimm1uFdUP7CQ5WkoiB7Twl8qghp2TczNpxKLQoYhRdV36QbkWVAlbcltfESu\n5eFyBMGH9lyP785e7eEr4KD1fi\/PgEwq8KPqUdsnECCUrGCrfqJ1S9ao4Qzl\njb6yxykj6DvwQk0l3SDmTS\/smNbqFwXNrNI+HYrIlJcwTy0AEQEAAc0cQWRt\naW4gQWRtaW4gPGFkbWluQGVtaW5kLmRlPsLBCgQQAQgAHQUCZHSSwgQLCQcI\nAxUICgQWAAIBAhkBAhsDAh4BACEJEGV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/gNssel\nQUlbzB3idopF1uZhXTwE5gt8yqr9rtpXOhcAEQEAAcLA9gQYAQgACQUCZHSS\nwgIbDAAhCRBlYEbpzJTcORYhBNu33PILviZl2+KSGmVgRunMlNw5O9cMAJLM\nNG3SFEhl4hR6ygM0FZDq2vLfKMw+1qVGWwpxd+q4eEPezDWWKkEF1e5XqRmh\nU8IQWgeyFFPHxF4aFR1+Pw[..]Bh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"last_logged_in":null}}
[go-passbolt] Got Cookies: [passbolt_session=bmg2hne76hr5dtstm64l7ot1t3; Path=/; HttpOnly; Secure; SameSite=Lax]
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/users/me.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"530dc276-1e93-45f4-bcd3-18392831dd4c","status":"success","servertime":1691665964,"action":"881ab948-e40f-5a72-91aa-54b442270029","message":"The operation was successful.","url":"\/users\/me.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x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NI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"is_mfa_enabled":false,"last_logged_in":null}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/resources/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"c67871ec-0d1b-4494-9118-ea3460f393dc","status":"success","servertime":1691665964,"action":"83bb8bd8-2006-5546-a3bb-9319ae6e8f9d","message":"The operation was successful.","url":"\/resources\/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2","code":200},"body":{"id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","name":"mypw","username":"myuser","uri":"mypw.com","description":null,"deleted":false,"created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:11:22+00:00","created_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","modified_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_type_id":"a28a04cd-6f53-518a-967c-9963bf9cec51","folder_parent_id":null,"personal":true}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/resource-types/a28a04cd-6f53-518a-967c-9963bf9cec51.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"1341d0fb-de99-40b8-ba76-7099865ef88c","status":"success","servertime":1691665964,"action":"d77de180-4626-54dd-80fb-a095ecc22aac","message":"The operation was successful.","url":"\/resource-types\/a28a04cd-6f53-518a-967c-9963bf9cec51.json?api-version=v2","code":200},"body":{"id":"a28a04cd-6f53-518a-967c-9963bf9cec51","slug":"password-and-description","name":"Password with description","description":"A resource with the password and the description encrypted.","definition":"{\u0022resource\u0022:{\u0022type\u0022:\u0022object\u0022,\u0022required\u0022:[\u0022name\u0022],\u0022properties\u0022:{\u0022name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:255},\u0022username\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:255},{\u0022type\u0022:\u0022null\u0022}]},\u0022uri\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:1024},{\u0022type\u0022:\u0022null\u0022}]}}},\u0022secret\u0022:{\u0022type\u0022:\u0022object\u0022,\u0022required\u0022:[\u0022password\u0022],\u0022properties\u0022:{\u0022password\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:4096},\u0022description\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:10000},{\u0022type\u0022:\u0022null\u0022}]}}}}","created":"2023-05-29T11:52:56+00:00","modified":"2023-05-29T11:52:56+00:00"}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/secrets/resource/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"5724b14b-1d0f-4ea0-a5c6-de32ca8798d0","status":"success","servertime":1691665964,"action":"ad71952e-7842-599e-a19e-3a82e6974b23","message":"The operation was successful.","url":"\/secrets\/resource\/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2","code":200},"body":{"id":"c5c8db7a-d9b2-41b9-aa30-9527cd4f4057","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","data":"-----BEGIN PGP MESSAGE-----\n\nwcDMAwpEPpj1V9HEAQv9EkZQ9jzTtgq9T4cGzUiYQEjegpXxaYzVM11g6Gx3\nfRv0[..]e5vQ896s4x2InMKvhIrZkBa87iE9\/ttLrk1Qfgg3ZsH7uhOpxceI7\/ruFA\nckuPEeDqPEZpXiNm+mG3sppkEgdWYtPP7tIa7H+b\/yP9INzGwDSC4RTVDLQu\nRxGMzTOQbR8jsxgWg0c940Qhhx2v7Q==\n=bWpG\n-----END PGP MESSAGE-----\n","created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:11:22+00:00"}}
FolderParentID: 
Name: mypw
Username: myuser
URI: mypw.com
Password: password123
Description: my great description
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/logout.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"48a99140-79f9-49e7-bf9f-de64f65fc4ae","status":"success","servertime":1691665964,"action":"19f9a792-3495-597b-bc94-dff1bc3e3967","message":"You are successfully logged out.","url":"\/auth\/logout.json?api-version=v2","code":200},"body":null}

$ passbolt update resource --id 81dd118b-7a0e-41c5-ae96-e9d2662480db -p "updatedpw" --debug

Using config file: /root/.config/go-passbolt-cli/go-passbolt-cli.toml
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/verify.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2665dbe2921a656046e9cc94dc39","server_verify_token":"-----BEGIN PGP MESSAGE-----\nComment: https://gopenpgp.org\nVersion: GopenPGP 2.5.0\n\nwcDMA6Mg/PJvVZBpAQwAq80jk1K3GkqNLrupshGxnc/pntazQuzU/vqXjcnqAHt0\nRuZJbUkDQJpSG1b8f+xl9WLH+ihDn2MLkFny4PYD1Mt/99+KUx5vFL/eFZnGoo1q\nPOz9GJPKFeNby1xTKXRslUktnQ/dwDN7grrPiWIolWnhBmEgSD1i8m4bUZxbwecD\nYiAzKXnKyxHLHNmjT[..]F\n5jVRu2wvh2nelfYQSNuTveXwmfKbrZcSx5k90Ym2mKZRzEBs/hwUpu4oL5OcvTgd\n1WYXly1UKFxRDeHS8hQxT08YmAaAiTKa+w/qhbpe8jXluq6kVqVFpG5OzYzS3xPx\nPIj4tnSH8aUkNlOlgpSCDZKe4SywT31NM2vnf9LeUw/IosKpJfn+I80H8ofPERAN\nJcgUyA9iNqV8I0Sx0PRwYZJ8gZypSIe64q4r9fQSaD57z8xSKKCnYjSGRqC02xQc\ni6Sw9GtIBAtjHiwnQt//j5BmCnpH8HvFMpUqJIjH1a8Haqut6u1IVsURuYHLp+JL\nBgG+Age7cg9FEVsqnVt+EfIQYEUW1nsrQhqG0Fw2H/Q3pXXQ0at[..]nFlsxs/Foe\nPUsZZfA1QzZQszM=\n=itKf\n-----END PGP MESSAGE-----"}}
[go-passbolt] Raw Response: {"header":{"id":"7203b0c5-78cf-4cc7-89b2-93970bd85446","status":"error","servertime":1691666312,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"The authentication failed.","url":"\/auth\/verify.json?api-version=v2","code":200},"body":null}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2665dbe2921a656046e9cc94dc39"}}
[go-passbolt] Raw Response: {"header":{"id":"f2ec3aea-be6e-4b7e-9909-53b6105b5fee","status":"error","servertime":1691666312,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"The authentication failed.","url":"\/auth\/login.json?api-version=v2","code":200},"body":null}
[go-passbolt] Got Encrypted Auth Token: -----BEGIN\+PGP\+MESSAGE-----%0A%0AhQGMAwpEPpj1V9HEAQv9E31L23[..]8BrNcm6q3rsC5PhkB%0Ak8Jd1GobvMQumutccpuJX4Cwvmv1SHq1MOfdYzCKMulSW69Rn7bhlk5UD%2B3Xxh6m%0ASvHftjFxzzcVcKAITzXmZ1RFvlWVvSq3yWM7fA3cwwpAQhBUhPm54ayIIlevff08%0AQBc%2FzbBKAUDqP%2Foz5QooukF4mKtDqxlRGyGh%2BxFrtVf9rpTopZ1h9Jqup%2BoTvLcl%0A%2FkmiVCYqvBBQBQIdBDCoOMc5ICSAIZyPsnL5HgO%2BJANSF2WsUZebR8ktLhHNvfYL%0AjCnOo%2BJvqJHJ[..]ixIz63CySDGIBOG3UeBT3VtFtC8mdtGUm%0A64SxWtJU%2[..]wcSRfBO2B47FEv90Qjpp%0ABP4ipypvXQeNIIs%3D%0A%3DjnTl%0A-----END\+PGP\+MESSAGE-----%0A
[go-passbolt] Decrypted Auth Token: gpgauthv1.3.0|36|f2f3101c-2dfb-4a12-9ce2-fd19750c1500|gpgauthv1.3.0
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/login.json?api-version=v2
[go-passbolt] Raw Request: {"gpg_auth":{"keyid":"dbb7dcf20bbe2665dbe2921a656046e9cc94dc39","user_token_result":"gpgauthv1.3.0|36|f2f3101c-2dfb-4a12-9ce2-fd19750c1500|gpgauthv1.3.0"}}
[go-passbolt] Raw Response: {"header":{"id":"8bb68ce7-ba5c-4c75-823e-77fa3d71677e","status":"success","servertime":1691666312,"action":"a3c19ad2-8920-5395-86d0-8567cb34f382","message":"You are successfully logged in.","url":"\/auth\/login.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB\/xPjNg\/2Ez5W6Xe+n\no9rGEHr+iQaMgurvcOuHXCS+xi\/UfTZhSJ2k8\/o8kr\/kIMrTkYo4dXx8rPHK\niOvfMiapibTCDvpAz[..]uvhmHkNBqsxq9HAbdkabU884cbwUmkuszmHvcxr2hI\nKfbK2aQnKhQqLbYPzs87O74n0IX9bEQOAqjZkuBRwaGCg6N7qXbNMEEpYZmn\nimm1uF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DbpWrmD1ScXBHohpAQ4bi\nY4212EQKaUIfLhBTOAtkHL8Y1Fbwajw3j\/uQVgAvLahYXtoNSvAn3W5cumML\nSkRCsrIGpXWHcgRtBijoXjlYoF0hED6UZKDdXNtWaCfBtNedARHXtozfaCIh\nvOggelD9BrMQ35oQaOlmJhwc1LbqCgHo36CvU224ydamaYFqCeiQW\/gNssel\nQUlbzB3idopF1uZhXTwE5gt8yqr9rtpXOhcAEQEAAcLA9gQYAQgACQUCZHSS\nwgIbDAAhCRBlYEbpzJTcORYhBNu33PILviZl2+KSGmVgRunMlNw5O9cMAJLM\nNG3SFEhl4hR6ygM0FZDq2vLfKMw+1qVGWwpxd+q4eEPezDWWKkEF1e5XqRmh\nU8IQWgeyFFPHxF4aFR1+Pwj2hR0R3uecHry5UeovExahchGdjo0AUjCBPU7L\nOjxhtosbt1+l7dIe0xnnA3OqWd+9PVZ9u0S7+dk9\/ADuZUftFnljZ1aGDaHJ\nNvnZk6CD6DbW45W2ckKtY4xjtFkZq+124p6YN+PTC9Nff6wHA8cxvxtDla3v\n38ebBnJKrtj0Jvved5LlGZUHqr\/oJmjq4jiw0zdQmTjBtFI\/P3Ck29hmtfsm\nVg9S5hBYr18XToMpx60yHOv9qqWviR0FQE1mRcyZNGCMnroPTBUSp9t11Zp9\n5K7zld\/KslW6nDLg92C6gMz114EEVXp\/f5IbgDQE+VMeavO9mFMyDT82OpNk\n6ZbtL7RnhQHdiICWjUCujMMW3gFET0ywb6QyBHU03dMEwYQL5zKYRiIo8LZr\nDyNHAePrtnc6SBh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"last_logged_in":null}}
[go-passbolt] Got Cookies: [passbolt_session=bm3k7nkl2l02ogq1ooiq65mpna; Path=/; HttpOnly; Secure; SameSite=Lax]
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/users/me.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"17760626-7905-45ed-b76a-89b206c9b599","status":"success","servertime":1691666312,"action":"881ab948-e40f-5a72-91aa-54b442270029","message":"The operation was successful.","url":"\/users\/me.json?api-version=v2","code":200},"body":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB\/xPjNg\/2Ez5W6Xe+n\no9rGEHr+[..]apibTCDvpAzCyptzSulkz6ueA6ve2SePskt+ldTsgm+MPZIjAiJgzx\nt\/GdU5iQk\/jBsEJOemSKO49rP1YNKQVEHaVzHkiOiGhLBa1PbCuugHQWLCJD\nNkcJ2DiKE8CXvkqMBOuvhmHkNBqsxq9HAbdkabU884cbwUmkuszmHvcxr2hI\nKfbK2aQnKhQqLbYPzs87O74n0IX9bEQOAqjZkuBRwaGCg6N7qXbNMEEpYZmn\nimm1uFdUP7CQ5WkoiB7Twl8qghp2TczNpxKLQoYhRdV36QbkWVAlbcltfESu\n5eFyBMGH9lyP785e7eEr4KD1fi\/PgEwq8KPqUdsnECCUrGCrfqJ1S9ao4Qzl\njb6yxykj6DvwQk0l3SDmTS\/smNbqFwXNrNI+HYrIlJcwTy0AE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ozfaCIh\nvOggelD9BrMQ35oQaOlmJhwc1LbqCgHo36CvU224ydamaYFqCeiQW\/gNssel\nQUlbzB3idopF1uZhXTwE5gt8yqr9rtpXOhcAEQEAAcLA9gQYAQgACQUCZHSS\nwgIbDAAhCRBlYEbpzJTcORYhBNu33PILviZl2+KSGmVgRunMlNw5O9cMAJLM\nNG3SFEhl4hR6ygM0FZDq2vLfKMw+1qVGWwpxd+q4eEPezDWWKkEF1e5XqRmh\nU8IQWgeyFFPHxF4aFR1+Pwj2hR0R3uecHry5UeovExahchGdjo0AUjCBPU7L\nOjxhtosbt1+l7dIe0xnnA3OqWd+9PVZ9u0S7+dk9\/ADuZUftFnljZ1aGDaHJ\nNvnZk6CD6DbW45W2ckKtY4xjtFkZq+124p6YN+PTC9Nff6wHA8cxvxtDla3v\n38ebBnJKrtj0Jvved5LlGZUHqr\/oJmjq4jiw0zdQmTjBtFI\/P3Ck29hmtfsm\nVg9S5hBYr18XToMpx60yHOv9qqWviR0FQE1mRcyZNGCMnroPTBUSp9t11Zp9\n5K7zld\/KslW6nDLg92C6gMz114EEVXp\/f5IbgDQE+VMeavO9mFMyDT82OpNk\n6ZbtL7RnhQHdiICWjUCujMMW3gFET0ywb6QyBHU03dMEwYQL5zKYRiIo8LZr\nDyNHAePrtnc6SBh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"is_mfa_enabled":false,"last_logged_in":null}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/resources/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"2266808e-aacc-4061-a05a-8ef94b9dce96","status":"success","servertime":1691666313,"action":"83bb8bd8-2006-5546-a3bb-9319ae6e8f9d","message":"The operation was successful.","url":"\/resources\/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2","code":200},"body":{"id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","name":"mypw","username":"myuser","uri":"mypw.com","description":null,"deleted":false,"created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:11:22+00:00","created_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","modified_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_type_id":"a28a04cd-6f53-518a-967c-9963bf9cec51","folder_parent_id":null,"personal":true}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/resource-types/a28a04cd-6f53-518a-967c-9963bf9cec51.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"6f0d20c2-6200-44f0-a719-e6731d4bc029","status":"success","servertime":1691666313,"action":"d77de180-4626-54dd-80fb-a095ecc22aac","message":"The operation was successful.","url":"\/resource-types\/a28a04cd-6f53-518a-967c-9963bf9cec51.json?api-version=v2","code":200},"body":{"id":"a28a04cd-6f53-518a-967c-9963bf9cec51","slug":"password-and-description","name":"Password with description","description":"A resource with the password and the description encrypted.","definition":"{\u0022resource\u0022:{\u0022type\u0022:\u0022object\u0022,\u0022required\u0022:[\u0022name\u0022],\u0022properties\u0022:{\u0022name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:255},\u0022username\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:255},{\u0022type\u0022:\u0022null\u0022}]},\u0022uri\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:1024},{\u0022type\u0022:\u0022null\u0022}]}}},\u0022secret\u0022:{\u0022type\u0022:\u0022object\u0022,\u0022required\u0022:[\u0022password\u0022],\u0022properties\u0022:{\u0022password\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:4096},\u0022description\u0022:{\u0022anyOf\u0022:[{\u0022type\u0022:\u0022string\u0022,\u0022maxLength\u0022:10000},{\u0022type\u0022:\u0022null\u0022}]}}}}","created":"2023-05-29T11:52:56+00:00","modified":"2023-05-29T11:52:56+00:00"}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/users.json?api-version=v2&filter%5Bhas-access%5D%5B%5D=81dd118b-7a0e-41c5-ae96-e9d2662480db
[go-passbolt] Raw Response: {"header":{"id":"5ce47b1a-65cf-4767-9550-f767e11dbac1","status":"success","servertime":1691666313,"action":"d7bc9044-a64e-5421-a4d7-7a94eaa39d37","message":"The operation was successful.","url":"\/users.json?api-version=v2\u0026filter%5Bhas-access%5D%5B%5D=81dd118b-7a0e-41c5-ae96-e9d2662480db","code":200,"pagination":{"count":1,"page":1,"limit":null}},"body":[{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","groups_users":[{"id":"e95096b4-9ddc-45fc-8d78-b7576c593792","group_id":"6a7cb6cc-ca6c-4cd2-8bd2-df3bcdfe1e1b","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T12:06:56+00:00"},{"id":"1667268e-2628-48d0-8cac-630da9a0ef66","group_id":"954b664a-95fe-49a4-827e-fab39297d051","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:31:22+00:00"},{"id":"7305e83b-5e8d-4412-927c-3b7845bc49c4","group_id":"a112eaa0-b580-4823-ad27-a4e0cff75505","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:32:39+00:00"},{"id":"6f8c3e1b-85f8-44bb-ab4f-1357a25dac48","group_id":"db678cc4-0cd0-4dd8-99ce-d3474514b4f6","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T11:57:29+00:00"},{"id":"2f933714-b365-405b-bf02-9135c9f6a1be","group_id":"f777e06c-0d7f-44d6-9e29-ea728f503d48","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","is_admin":true,"created":"2023-05-29T19:37:30+00:00"}],"profile":{"id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","first_name":"Passbolt","last_name":"Admin","created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","avatar":{"id":"3790a158-2b2d-4a7f-8cce-9158d05039ce","profile_id":"90ce11d7-260a-4e72-b33e-cef0c241b4d5","created":"2023-06-10T15:24:24+00:00","modified":"2023-06-10T15:24:24+00:00","url":{"medium":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/medium.jpg","small":"https:\/\/passbolt.dc-ourcompany.com\/avatars\/view\/3790a158-2b2d-4a7f-8cce-9158d05039ce\/small.jpg"}}},"gpgkey":{"id":"b7f7e71e-1e82-4c60-a584-334d0bf9843f","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","armored_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxsDNBGR0ksIBDACz\/vRS47tMNM5x16LOonmjPS71RoB\/xPjNg\/2Ez5W6Xe+n\no9rGEHr+iQaMgurvcOuHXCS+xi\/UfTZhSJ2k8\/o8kr\/kIMrTkYo4dXx8rPHK\niOvfMiapibTCDvpAzCyptzSulkz6ueA6ve2SePskt+ldTsgm+MPZIjAiJgzx\nt\/GdU5iQk\/jBsEJOemSKO49rP1YNKQVEHaVzHkiOiGhLBa1PbCuugHQWLCJD\nNkcJ2DiKE8CXvkqMBOuvhmHkNBqsxq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HTOlmSiiuHKMuFL\nr05peDwIzn4FpH+tNpLDpq0W7RAdxSTRIbG2wou\/XoazV0NNhnqtxBkvKmXn\nhulAbshJq8CbM0edrXYp6monOacNnl0NCt4qxLEe8GHeqR1NCXE3dtkGHUhk\nJl5QoAaTZx6v5JUTEroGGZYVBlmiIASGAMNy7O+DbpWrmD1ScXBHohpA[..]\nSkRCsrIGpXWHcgRtBijoXjlYoF0hED6UZKDdXNtWaCfBtNedARHXtozfaCIh\nvOggelD9BrMQ35oQaOlmJhwc1LbqCgHo36CvU224ydamaYFqCeiQW\/gNssel\nQUlbzB3idopF1uZhXTwE5gt8yqr9rtpXOhcAEQEAAcLA9gQYAQgACQUCZHSS\nwgIbDAAhCRBlYEbpzJTcORYhBNu33PILviZl2+KSGmVgRunMlNw5O9cMAJLM\nNG3SFEhl4hR6ygM0FZDq2vLfKMw+1qVGWwpxd+q4eEPezDWWKkEF1e5XqRmh\nU8IQWgeyFFPHxF4aFR1+Pwj2hR0R3uecHry5UeovExahchGdjo0AUjCBPU7L\nOjxhtosbt1+l7dIe0xnnA3OqWd+9PVZ9u0S7+dk9\/ADuZUftFnljZ1aGDaHJ\nNvnZk6CD6DbW45W2ckKtY4xjtFkZq+124p6YN+PTC9Nff6wHA8cxvxtDla3v\n38ebBnJKrtj0Jvved5LlGZUHqr\/oJmjq4jiw0zdQmTjBtFI\/P3Ck29hmtfsm\nVg9S5hBYr18XToMpx60yHOv9qqWviR0FQE1mRcyZNGCMnroPTBUSp9t11Zp9\n5K7zld\/KslW6nDLg92C6gMz114EEVXp\/f5IbgDQE+VMeavO9mFMyDT82OpNk\n6ZbtL7RnhQHdiICWjUCujMMW3gFET0ywb6QyBHU03dMEwYQL5zKYRiIo8LZr\nDyNHAePrtnc6SBh3uCQNI5b3+EKIEg==\n=QX88\n-----END PGP PUBLIC KEY BLOCK-----\n","bits":3072,"uid":"Admin Admin \[email protected]\u003E","key_id":"656046E9CC94DC39","fingerprint":"DBB7DCF20BBE2665DBE2921A656046E9CC94DC39","type":"RSA","expires":null,"key_created":"2023-05-29T11:55:46+00:00","deleted":false,"created":"2023-05-29T11:56:14+00:00","modified":"2023-05-29T11:56:14+00:00"},"role":{"id":"65d94402-d367-46d0-baf4-398c25391402","name":"admin","description":"Organization administrator","created":"2012-07-04T13:39:25+00:00","modified":"2012-07-04T13:39:25+00:00"},"last_logged_in":null}]}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/secrets/resource/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"d2a6d8a7-3ff3-4cea-9345-bad67a5f572c","status":"success","servertime":1691666313,"action":"ad71952e-7842-599e-a19e-3a82e6974b23","message":"The operation was successful.","url":"\/secrets\/resource\/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2","code":200},"body":{"id":"c5c8db7a-d9b2-41b9-aa30-9527cd4f4057","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","data":"-----BEGIN PGP MESSAGE-----\n\nwcDMAwpEPpj1V9HEAQv9EkZQ9jzTtgq9T4cGzUiYQEjegpXxaYzVM11g6Gx3\nfRv0ehUXsBXdUCuVyuaHByx+oIXUGKcL1oztwVc0591I9Mfo\/1tad8jj4woD\n72HYuta5go+fBfPId9dpo\/f8PUCjLFKxkC2RknQcUDGDENozjE8Dyn9EPR+o\naqJLoVPBOKzyIQnb+mt01VC8H\/MI\/itviYSoZAhN8FeWsIRpuWiVza1fNqWn\n+snXyS11j4LTmJDfWDlqpQWRgPJ5N9LR4xD5xpNVuz5Xh+2dXUD1Up1i\/Vq9\nIuw\/5XXzuOFz5zgJxY6XRQ0MlRdjFSO3FoYaHKB4q+jHzwFHBAUcR9PQCGA8\nRz\/RtLId7cQ9ufXrYKKEi4Vpm2GRdsi423ttZS9jj9nR61oV8P0g19xIr7OR\nx1NQTs3pAOlOKL6g3C082dwldF60Z9n2q4zw83XRHd17rDj4d1gP1qF2dRGA\nf0Cyji1g+lNZO8mfj9Y8cH7k2HLC1lZMMWaMHMHn\/RGsPEvvxcwC0sF1Ad12\n1Pbiht3MLVm8x6q9zoa6Olc4kYzoXCp1xuL23vGIkGrgP31C4kZeF1T2hfm1\nHuHasrMtxqanZ4W7jhi0X5GQyNxuJhMxEjDvMq\/l97oa9kKDhO7b3DBrOsrG\nXH8neOvpPS7GzdZf9lOwZTvjVN9X5aQXsBlx58sRIgMrwS6h42dve8bXFnuU\nMVm5trEECFqcWZga88\/F9zUDUYjJdMekSyKdRmrmOMTPpJr5KNSEcvnuXAyO\n7pOEW+R8\/UwLR6Y47Tc5LLfFdRxlmZudSnylK3V2t\/tOmLWnxSsUTxJ9xmqe\nRb1JKKjWJBGz2NQbIbYt5dK4FRI4n9ChofMrVwpSe9GJu28BlZ2jJxCO4JWk\nLQWm\/njF\/0s2UqkxCgMi0vhGOX0ErKjkdBEIINiMb\/z2TEqXxA10jg7HcEbW\nCjxQVPT7sARh5tTURi+c\/p\/xcjDEch82oK+0DQMCP\/CZzq6XGCX+A2w2gXN5\nTBYOfpGa4\/SRj\/9DDz6\/5tTKjCTZK8mQpt+S0\/5HVnnRZP2teJ\/tm6Z6vqeb\n8ma2dRrenn8u85L+AgZgxGT6GfE\/9XTDXLv55vWwuDxsKN\/r\/QeDBNCtmsjt\nore5vQ896s4x2InMKvhIrZkBa87iE9\/ttLrk1Qfgg3ZsH7uhOpxceI7\/ruFA\nckuPEeDqPEZpXiNm+mG3sppkEgdWYtPP7tIa7H+b\/yP9INzGwDSC4RTVDLQu\nRxGMzTOQbR8jsxgWg0c940Qhhx2v7Q==\n=bWpG\n-----END PGP MESSAGE-----\n","created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:11:22+00:00"}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/resources/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2
[go-passbolt] Raw Request: {"id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","name":"mypw","uri":"mypw.com","username":"myuser","resource_type_id":"a28a04cd-6f53-518a-967c-9963bf9cec51","resource_type":{},"secrets":[{"user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","data":"-----BEGIN PGP MESSAGE-----\nVersion: GopenPGP 2.5.0\nComment: https://gopenpgp.org\n\nwcDMAwpEPpj1V9H[..]r1CHByFV126OQ\ndK+qlFagm4ay3cnB4Fqv5ldgzfie9QcCDG1j94syWEl39SVoHhZswL+pU1kBGtqO\nCImuUnXztkPvX2lXLc+Zpv1XD47jjgtcIr/JnnSTADDgbW2St8QYWqzK+i4zlZBT\nKYp8yKrs0nfy3PaTUosR0ukB3Ba8bnYhnZw5AeL+cIq+xz38WR01JCDWdEL2AwMI\nnpMB1n2XLdRsPyGukmUjVz/UN91dQKdvfBM3GfelcIBbgmA4Ok2Tw++wxxcVrgt4\ne56CoHVim3+r9xjedPGlSfadceZ4tNfGTUsV4x/sFHlC6S/CfIMTmQefmmjYYQI6\nZtdQ4nHgCY7jLZX68nzFbr08Xlmk4ChDwvw7C1eAZ6plMS/hEFSEXZes95s8P3m1\nIGb2cEmd4mqycTwErgN+hMnb/o7LMYTiIg1+9NtYBTr3/20iAXpgiupItIYA12r8\nA9/AsEPC63nlcGjNFdyD2R+Rg74FDs0jjQaZSGuNev8h6G35N+4MjZct/zaLiU1/\ngG8KSNcMbQvdEBt8BfaeEkDh+Oh+1CttH7BfBIn18w5vdtVUoIBYDGYqtS0LG3k0\nBmBhEsmD/h8vgkAJ7aMPH1C4IBuaRKfAW24+NA7pciJ1PtbNmZi4xvKcopbh6kjl\nnpimYY4TUruYB81ubpM7h8KiqL6l9ih8pP5idiTb7FLdC4by5V04pk7ow6NSKZvX\nGNZhz/FXIBH1xdySb4CccMIY6l+ZzFCUncFBNikeQEohVOQHJc3FiLSTkNOF5qnC\niXuvCXZNg2kq+ziZmtSqOL8IO9DeyM4eX0XCXPWKin9VSyLZMPy3EIxIJQCvjOLa\ntjN20S21pUFn47gHPt+15X8tDiePWJLsd2UkCBNl0nuPEiknDvO0sj6a8WNqWyUw\ntPlfE8Y=\n=ZMx4\n-----END PGP MESSAGE-----"}]}
[go-passbolt] Raw Response: {"header":{"id":"f4283dd0-72c1-46e3-a058-52ad2b8eee38","status":"success","servertime":1691666313,"action":"f5928fca-ddb3-5a40-b022-9a8bec18fd1c","message":"The resource has been updated successfully.","url":"\/resources\/81dd118b-7a0e-41c5-ae96-e9d2662480db.json?api-version=v2","code":200},"body":{"id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","name":"mypw","username":"myuser","uri":"mypw.com","description":null,"deleted":false,"created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:18:33+00:00","created_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","modified_by":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_type_id":"a28a04cd-6f53-518a-967c-9963bf9cec51","favorite":null,"modifier":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","last_logged_in":null},"creator":{"id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","role_id":"65d94402-d367-46d0-baf4-398c25391402","username":"[email protected]","active":true,"deleted":false,"created":"2023-05-29T11:52:57+00:00","modified":"2023-06-10T15:24:24+00:00","last_logged_in":null},"secrets":[{"id":"c5c8db7a-d9b2-41b9-aa30-9527cd4f4057","user_id":"1a18252c-b31d-474c-8e43-a8a35d250fcd","resource_id":"81dd118b-7a0e-41c5-ae96-e9d2662480db","data":"-----BEGIN PGP MESSAGE-----\nVersion: GopenPGP 2.5.0\nComment: https:\/\/gopenpgp.org\n\nwcDMAwpEPpj1V9HEAQv+KmD0nT+9XTnudueGpeA\/Ggc0FqtmjLUiOE1xa5qTl92B\nhN3sZgzy9lgxFLbWUWxD2n0hHExQQTcVrGJHq9r1V4FX5QgmoBgyEJXwYASLLpam\nxrNRbF5ST++Babn8JvGnwlRUwikUPhSrPTvN2et5p7HM0rCJhm1jcxs8zIOX1Vir\nm1Cuco5Ozm8xNLF4rbGapZU1zkweQz8IDEYnMpKP1rw2tZzLasU15iXxsUZS7k8A\nre+D9189nDpMJhtfBkshmAzlvaOzsqRx6A1noubypH9ayPv70jSlRpoU8tC3DFeL\naAAB1kxKEb9Az2wjjgciFVZ[..]l39SVoHhZswL+pU1kBGtqO\nCImuUnXztkPvX2lXLc+Zpv1XD47jjgtcIr\/JnnSTADDgbW2St8QYWqzK+i4zlZBT\nKYp8yKrs0nfy3PaTUosR0ukB3Ba8bnYhnZw5AeL+cIq+xz38WR01JCDWdEL2AwMI\nnpMB1n2XLdRsPyGukmUjVz\/UN91dQKdvfBM3GfelcIBbgmA4Ok2Tw++wxxcVrgt4\ne56CoHVim3+r9xjedPGlSfadceZ4tNfGTUsV4x\/sFHlC6S\/CfIMTmQefmmjYYQI6\nZtdQ4nHgCY7jLZX68nzFbr08Xlmk4ChDwvw7C1eAZ6plMS\/hEFSEXZes95s8P3m1\nIGb2cEmd4mqycTwErgN+hMnb\/o7LMYTiIg1+9NtYBTr3\/20iAXpgiupItIYA12r8\nA9\/AsEPC63nlcGjNFdyD2R+Rg74FDs0jjQaZSGuNev8h6G35N+4MjZct\/zaLiU1\/\ngG8KSNcM[..]RKfAW24+NA7pciJ1PtbNmZi4xvKcopbh6kjl\nnpimYY4TUruYB81ubpM7h8KiqL6l9ih8pP5idiTb7FLdC4by5V04pk7ow6NSKZvX\nGNZhz\/FXIBH1xdySb4CccMIY6l+ZzFCUncFBNikeQEohVOQHJc3FiLSTkNOF5qnC\niXuvCXZNg2kq+ziZmtSqOL8IO9DeyM4eX0XCXPWKin9VSyLZMPy3EIxIJQCvjOLa\ntjN2[..]nDvO0sj6a8WNqWyUw\ntPlfE8Y=\n=ZMx4\n-----END PGP MESSAGE-----","created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:18:33+00:00"}],"permission":{"id":"e4acb657-7cfb-4815-b9cf-a7e367f5d6c0","aco":"Resource","aco_foreign_key":"81dd118b-7a0e-41c5-ae96-e9d2662480db","aro":"User","aro_foreign_key":"1a18252c-b31d-474c-8e43-a8a35d250fcd","type":15,"created":"2023-08-10T11:11:22+00:00","modified":"2023-08-10T11:11:22+00:00"},"folder_parent_id":null,"personal":true}}
[go-passbolt] Request URL: https://passbolt.dc-ourcompany.com/auth/logout.json?api-version=v2
[go-passbolt] Raw Response: {"header":{"id":"fcc15df9-6e68-41cc-a9f4-48ee91decfb4","status":"success","servertime":1691666313,"action":"19f9a792-3495-597b-bc94-dff1bc3e3967","message":"You are successfully logged out.","url":"\/auth\/logout.json?api-version=v2","code":200},"body":null}

image

It looks like creating the resource via UI eliminates the problem, so far it only occures in my tests when the resource got initially created over the CLI.

@speatzle
Copy link
Collaborator

Ok, if you create a new Password with a Description via the CLI instead of adding it with an update, does the same issue occur?

@lfkdev
Copy link
Author

lfkdev commented Aug 10, 2023

You mean like this:
passbolt create resource --name "mypwviacli" --username "myuser" --uri "wow.de" --password "password123" --description "my awesome description" ?

That would be the same error as before:
image

with {"password":"password123","description":"my awesome description"} inside the password field

@speatzle
Copy link
Collaborator

I believe I have found the issue.

When go-passbolt (the library behind go-passbolt-cli) creates a new resource it tries to create it with the resource_type password-and-description. For that, it needs to find the ID of that type. It seems like the logic for determining that ID is broken and instead always returns the ID of the last resource_type it got from the server which on Passbolt PRO happens to also be password-and-description so it all works out. But for some reason on your Passbolt Server, the Order is reversed.

Since I don't have a Server with this behavior I can't test the fix, would you be willing to compile and test the fix on your system? Alternatively, I could also compile and upload a binary.

@lfkdev
Copy link
Author

lfkdev commented Aug 10, 2023

If you could compile it and share the binary, I'd be happy to test it out. Its probably be quicker that way

@speatzle
Copy link
Collaborator

go-passbolt-cli.zip

Here is the test Version.

@lfkdev
Copy link
Author

lfkdev commented Aug 10, 2023

passbolt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by passbolt)
passbolt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by passbolt)

$ $ldd --version

ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

I could upgrade my system but maybe we'll destroying the test-case then. Could you offer a static version or a version with lower glib?

@speatzle
Copy link
Collaborator

I recompiled without glib by disabling cgo. Hope that works.
go-passbolt-cli_2.zip

@lfkdev
Copy link
Author

lfkdev commented Aug 10, 2023

That indeed helped and fixed the problem!

$ passbolt create resource --name "mypwviacli" --username "myuser" --uri "wow.de" --password "password123" --description "my awesome description"

Found password-and-decription
Proceeding with type password-and-description
ResourceID: 8b4040d5-beea-4c63-a0be-d8cae81cfe42

image

Thank you. I tested create and update, looks very good so far

@speatzle
Copy link
Collaborator

Perfect, ill make a new go-passbolt and go-passbolt-cli release soon, Thank you for the Report and help.

@speatzle
Copy link
Collaborator

Released with v0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants