aries-cloudagent-python: Missing fields from connection record in aca-py version 0.8.1
These two messages are from BC Wallet 1.0.8 (813) on iOS against both two aca-py instances. These are the messages received by the controller.
aca-py 0.8.1
{
"accept":"manual",
"connection_id":"b06c8e7b-f0e8-4115-a137-b975f6b1fb8e",
"connection_protocol":"connections/1.0",
"created_at":"2023-04-25T00:36:02.981025Z",
"invitation_key":"2eHpQFonMEhmzoaeEmALKWqdqyRWYfA6LQyjJJtgb2WT",
"invitation_mode":"once",
"my_did":"DiuXEWLWWq9nBca4vHsjWp",
"rfc23_state":"request-received",
"routing_state":"none",
"state":"request",
"their_role":"invitee",
"updated_at":"2023-04-25T00:36:02.981025Z"
}
aca-py 0.7.4
{
"accept":"manual",
"connection_id":"905c4d2c-e4ff-4b64-a96b-4a63c365905c",
"connection_protocol":"connections/1.0",
"created_at":"2023-04-25T01:33:06.130393Z",
"invitation_key":"ChJbCM5YJS1oxSAMV5MocRypMmQZtxQjpoJXFiLvg1C9",
"invitation_mode":"once",
"my_did":"DQmKuQfHvX8nE1ni5vFW2g",
"rfc23_state":"completed",
"routing_state":"none",
"state":"active",
"their_did":"Kymix7Fxh6oPyivbCVPuxy",
"their_label":"BC Wallet",
"their_role":"invitee",
"updated_at":"2023-04-25T01:33:07.355253Z"
}
Fields missing from the aca-py 0.8.1 message are their_did
and their_label
.
Settings for the two instances are identical, except for the fact that the 0.8.1
instance also includes ACAPY_REQUESTS_THROUGH_PUBLIC_DID = true
. Based on the notes for this change; https://github.com/hyperledger/aries-cloudagent-python/pull/2034
- name: ACAPY_INVITE_PUBLIC
value: 'true'
- name: ACAPY_PUBLIC_INVITES
value: 'true'
- name: ACAPY_AUTO_ACCEPT_INVITES
value: 'false'
- name: ACAPY_AUTO_ACCEPT_REQUESTS
value: 'false'
- name: ACAPY_AUTO_PING_CONNECTION
value: 'true'
- name: ACAPY_MONITOR_PING
value: 'false'
- name: ACAPY_AUTO_RESPOND_MESSAGES
value: 'false'
- name: ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER
value: 'false'
- name: ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST
value: 'false'
- name: ACAPY_AUTO_VERIFY_PRESENTATION
value: 'true'
- name: ACAPY_AUTO_PROVISION
value: 'true'
- name: ACAPY_NOTIFY_REVOCATION
value: 'false'
- name: ACAPY_ENDORSER_ALIAS
value: Endorser
- name: ACAPY_ENDORSER_ROLE
value: author
- name: ACAPY_AUTO_REQUEST_ENDORSEMENT
value: 'true'
- name: ACAPY_AUTO_WRITE_TRANSACTIONS
value: 'true'
- name: ACAPY_CREATE_REVOCATION_TRANSACTIONS
value: 'true'
- name: ACAPY_WALLET_TYPE
value: askar
- name: ACAPY_WALLET_STORAGE_TYPE
value: postgres_storage
- name: ACAPY_REQUESTS_THROUGH_PUBLIC_DID
value: 'true'
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 28 (17 by maintainers)
The
ACAPY_REQUESTS_THROUGH_PUBLIC_DID
flag was set due to our initial triage, and seeing the breaking change in https://github.com/hyperledger/aries-cloudagent-python/pull/2034.The issue existed prior to the change to that flag, but only since the upgrade.