mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 12:22:52 +03:00
Check if device is fips capable before creating an SCP session
This commit is contained in:
parent
a3f9ace174
commit
7c4b9ff9cb
@ -521,6 +521,7 @@ class ScpConnectionNode(ConnectionNode):
|
|||||||
self.fips_capable = info.fips_capable
|
self.fips_capable = info.fips_capable
|
||||||
self.scp_params = None
|
self.scp_params = None
|
||||||
try:
|
try:
|
||||||
|
if self.fips_capable != 0:
|
||||||
scp = SecurityDomainSession(connection)
|
scp = SecurityDomainSession(connection)
|
||||||
|
|
||||||
for ref in scp.get_key_information().keys():
|
for ref in scp.get_key_information().keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user