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

DID fix #7

Merged
merged 1 commit into from
Dec 30, 2024
Merged

DID fix #7

merged 1 commit into from
Dec 30, 2024

Conversation

arkavo-com
Copy link
Contributor

Validate DID and handle inputs for user creation

  • Added validation to ensure DID starts with 'did:key:' and user handles start with the username. Updated create_user and start_register functions to incorporate these checks. Improved error handling and error messages for better clarity.

corrected format

did:key:zPgQKWLsCzZtAbvsuBnthwx7BZfbRZf41c4TbGdHpL4S333gNKyRFZJFiFF5uL5zxpoqbQ14sZyDtXXcuJ4MxcySP

Added validation to ensure DID starts with 'did:key:' and user handles start with the username. Updated `create_user` and `start_register` functions to incorporate these checks. Improved error handling and error messages for better clarity.
@arkavo-com arkavo-com merged commit 5438dc2 into main Dec 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant