fido2 icon indicating copy to clipboard operation
fido2 copied to clipboard

"SecurityError: The operation is insecure" error when registering on FIDO java basic application

Open aymane-chaki opened this issue 4 years ago • 8 comments

SecurityError: The operation is insecure I get this error when I try to register a new user on the fido basic java application.

Screenshots image

  • OS: Ubuntu 18.04 (virtual machine)

aymane-chaki avatar Jun 11 '21 04:06 aymane-chaki

@Aym923

Please provide the SKFS logs. When running this test launch a terminal and switch to strongkey user: 'su - strongkey' then enter the following command: 'tsl' in a terminal. Provide any output.

Also at what part of the process do you see this error? is it right after clicking 'Register New Key' or after following addition prompts after this step?

DavidCBeach avatar Jun 11 '21 19:06 DavidCBeach

Thank you for the quick response. The error occurs right after clicking 'Register New Key'.

I tried the command tsl using strongkey user but it says "tsl: not found" image

aymane-chaki avatar Jun 11 '21 23:06 aymane-chaki

@Aym923

tsl is an alias for the following command:

tail --follow=name /usr/local/strongkey/payara5/glassfish/domains/domain1/logs/server.log

If this command does not work there may have been an error during installation. If so please run the following command to check if the SKFS in installed:

asadmin list-applications

DavidCBeach avatar Jun 14 '21 18:06 DavidCBeach

@DavidCBeach

Here's the output of the tsl command

image

aymane-chaki avatar Jun 16 '21 00:06 aymane-chaki

How do I start and stop the SKFS ?

aymane-chaki avatar Jun 16 '21 02:06 aymane-chaki

To stop the Application Server (Payara) on CentOS:

  • Login as root
  • systemctl stop glassfishd

To start the Application Server (Payara) on CentOS:

  • Login as root
  • systemctl start glassfishd

To restart the Application Server (Payara) on CentOS:

  • Login as root
  • systemctl restart glassfishd

If you are authenticated as "strongkey" into the machine:

  • sudo systemctl stop glassfishd
  • sudo systemctl start glassfishd
  • sudo systemctl restart glassfishd

Sorry about those instructions not being in the Reference Manual. We'll fix that in the upcoming release this month.

On 6/15/21 7:15 PM, Aymane CHAKI wrote:

How do I start and stop the SKFS ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/StrongKey/fido2/issues/135#issuecomment-861982992, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWSVTXLTJZOVCUBLKEAEM3TTACMHANCNFSM46P4Y2GQ.

arshadnoor avatar Jun 16 '21 02:06 arshadnoor

@arshadnoor Thank you for the quick reply.

How about my original issue with the java basic application, is there a fix ?

aymane-chaki avatar Jun 16 '21 03:06 aymane-chaki

You are welcome. @DavidCBeach will respond to you on that, @Aym923.

P.S. I'm delighted that our FIDO Server is being used in Casablanca even if I have not visited it. I would love to visit your city one day - it is also my all-time favorite movie (https://www.imdb.com/title/tt0034583/). :-)

On 6/15/21 8:19 PM, Aymane CHAKI wrote:

@arshadnoor https://github.com/arshadnoor Thank you for the quick reply.

How about my original issue with the java basic application, is there a fix ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/StrongKey/fido2/issues/135#issuecomment-862006205, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLPGO6J4IZ3QGOE2774JHTTTAJ25ANCNFSM46P4Y2GQ.

max-smyth avatar Jun 16 '21 11:06 max-smyth