How to process sign message in Ethereum - verify

I want to connect a wallet to dextools site. It has to steps. the second step is verification. in verification step it sends (1645880458137952, 'personal_sign', ['0x56657269667920796f7572206163636f756e7420696e20446578746f6f6c732e696f0a566572696669636174696f6e20746f6b656e3a20307835313565616135353461333537346666666431303763656632383339303164653762663634366230306230303065346166313236396334626239346635313738', '0xf74322be8F77d57e9e74b5D123F83B6C1902FB9D']). how should I sign this. Thanks

Related

Can't generate authentication code to login to Heroku Account

I stupidly deleted my Authenticator app on my mobile phone and now I am unable to login to my Heroku account. Is there any way round this?
I had the same issue.
If you have Multi-Factor Authentication, recovery codes can get you out of lock out.
If you do not have those, the only way is to reach out to Heroku Support. They'll ask some questions to verify your identity, and provide a single recovery code.
Refer to this link for more details.

Laravel Spark Next Hangs At Pending Subcription

I have set up laravel spark next and jetsream with inertia as the base for authentication purposes. I have also acquired myself a paddle sandbox account to set up billing. I have successfully set up a subscription plan through paddle to test. After setting up the required env variables for paddle I proceeded to sign up to the service through the /billing endpoint. I enter the sandbox details in the payment gateway I enter the paddle interface as a subscriber so i know the api is working well. Unfortunately the subscription never applies to the user account. All it does is hangs at Subscription Pending.... After inspecting the network it appears that the billing url is stuck in an endless loop. I have followed everything to a tee. Is there something I am missing?
To handle subscription events, you need to configure webhooks in your Paddle account. You can refer to the Spark's documentation for webhooks.
As for enabling webhooks for your local environment, you can also refer to the documentation.
Make sure your .env file does not contain any leading spaces in the lines where you paste in your public key from Paddle. For example, it should read:
PADDLE_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
MIICIjANBgk...AAQ==
-----END PUBLIC KEY-----"
And not:
PADDLE_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
MIICIjANBgk...AAQ
-----END PUBLIC KEY-----"
This took me way too long to catch.
Getting the same error, I've dig further, and for me it was on the Paddle (payment gateway) side, using their Webhook simulator, it allows me to understand that they expect from your end to have a SSL Certificate that disclose the full chain.
Meaning that, depending on how you install your certificate on your website, you should provide your public certificate and the CA-bundle file (A file where there are many certificates on top of each other).
Here a site where you can discover if you have a chain issue
https://www.ssllabs.com/ssltest/analyze.html
Additional note for Traefik users (Docker reverse proxy):
Yes Traefik is able to handle a 1 file certificate where you put your certificate on top of the certificate inside the CA-bundle.

no certificate available when enrolling on behalf

I have one WinServer 2008 Domain controller and a CA server on it.
I log in with the Administrator account and want to request a certificate "on behalf" of a user of my DC.
for doing that, at first I duplicated these certificate templates:
smart login
smart user
enrolment agent
I changed configuration and permission for new templates so that Administrator account can read, write and enrol for these templates.
After creating these new templates and assigning permissions and configuration, from mmc and certificate snap-in, for user account certificates, and for "Personal" section, we requested a new certificate for Administrator account to make it an enrollment agent as shown below:
then it is generated with no problem and we want to request a certificate on behalf of a user with this new certificate. But, in "Select enrolment agent certificate" and when we click on "Browse" button, we have a problem because there is no certificate to select, as shown below:
there is no certificate available to choose
I read a lot of documents online but I did not find the reason to solve this problem!
You need an enrollment agent certificate in the local user store (certmgr.msc)/machine store (certlm.msc) to request on behalf of. This is done by setting the signature count on the template.
If the signature count is not 0 you cannot enroll - because you first need an enrollment agent certificate...
Set the signature count on the enrollment agent certificate template to 0.
Enroll an enrollment agent certificate - dialog will not pop up
Set the signature count on another certificate template to 1.
Enroll a certificate based on the template in step 3. Dialog will pop up. Select certificate enrolled in step 2. Done
I have same problem too (cannot choose existing enrollment cert).
The solution (maybe):
Check the access to published crl and/or refresh the crl cache on your enrollment workstation.
From elevated command line:
Delete the old cache: certutil -urlcache crl delete
Resync the crl cache: certutil -setreg chain\ChainCacheResyncFiletime #now

BOT for company use

I have a BOT that answers questions for sales people, but I need to make sure that only users in my company's Azure Active Directory are able to access the BOT. Is there a way to only allow Skype for business users and authorize based on their access token?
Thanks
Terry
You could send a link to the user that takes her to an AAD authentication page, with the callback URL pointing to your service. Once you get the callback, set the user's state (in UserBotData) to authenticated. I believe this page can help you in the implementation.
METHOD 1 (Oauth)
Step 1: if context.PrivateConversationData.GetValue("authenticated")is false
Step 2: Return authentication link to the chat (including callbackurl in the url)
Note: in step 2, you might want to include ResumptionCookie to enable the ability to resume the conversation later.
In botframework sample code, they have an excellent demo (https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Samples/SimpleFacebookAuthBot/Controllers/OAuthCallbackController.cs)
Step 3: When user is authenticated and being redirected to the callbackurl you've set, set the context.PrivateConversationData.Setvalue("authenticated", true);
METHOD 2 (Inline Authentication)
Step 1: check if user is authenticated (similar to above)
Step 2: ask user to input his ADID in your Azure Active Directory
Step 3: find his email or any unique identifier, generate OTP, send to his mobile number
Step 4: Verify the OTP sent by user
Step 5: Set PrivateConversationData (similar to above).
Google has an excellent library to create & verify OTP (https://www.nuget.org/packages/GoogleAuthenticator/1.0.0)
You can authenticate your bot's users against their corporate AAD account using a library like botauth.
Here's an example bot. https://github.com/MicrosoftDX/botauth/blob/master/examples/aadv2/app.js

How to reset developer account password?

I have received a developer account number and extension, however I never received the email with the password. I can't reset it from the test portal either as it is asking me a security question. I tried to answer based on my actual account, but it says invalid.
Obviously, I can't do anything until I get this password. So what are my options? Create a new app and hope it works the second time? I checked my mail server and don't see any rejected emails from RC either.
Edit: Looks like the email was rejected. It failed SPF, the server doesn't have rDNS, and I guess it got knocked a point for having the From header Base64 encoded.
Anyway, how can I reset it?
Could you please create a support case at :
RingCentral Developer Support
One of the team members would be able to assist you with resetting the Developer Account password.

Resources