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

postal service limited to issuers from startInstance #46

Closed
dckc opened this issue May 22, 2024 · 4 comments · Fixed by #45
Closed

postal service limited to issuers from startInstance #46

dckc opened this issue May 22, 2024 · 4 comments · Fixed by #45
Labels
bug Something isn't working

Comments

@dckc
Copy link
Member

dckc commented May 22, 2024

the postal service contract doesn't dynamically add issuers like the swaparoo contract does.

noted by @samsiegart in #45

Design

let clients give issuers to add in the invitationArgs

@dckc dckc added bug Something isn't working needs-design labels May 22, 2024
@dckc
Copy link
Member Author

dckc commented May 22, 2024

I'm not sure about the security implications of letting clients unilaterally add issuers. Added needs-design.

@dckc dckc changed the title postal service limited to static list of issuers postal service limited to issuers from startInstance May 22, 2024
@samsiegart
Copy link
Contributor

Thanks for making an issue.

I'm not sure about the security implications of letting clients unilaterally add issuers. Added needs-design.

If the design was up to me right now, I'd just allow it. We already do the same with swaparoo. If we ever decide to deploy this to mainnet, perhaps we could revisit these concerns?

@dckc
Copy link
Member Author

dckc commented May 23, 2024

I suppose as long as the clients don't get to choose names / keywords, it should be fine.

zcf.saveIssuer(i, `Issuer${(issuerNumber += 1)}`);

So the design would be, like swaparoo, to let clients give issuers to add in the invitationArgs? (or offerArgs)

@dckc dckc removed the needs-design label May 23, 2024
@samsiegart
Copy link
Contributor

So the design would be, like swaparoo, to let clients give issuers to add in the invitationArgs? (or offerArgs)

Yea, in invitationArgs

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