Project

General

Profile

Actions

Task #625

closed

Change encrypted key for confidential storage

Added by Ondřej Kopr over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Confidential Storage
Target version:
Start date:
08/03/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Change location key for confidential storage agenda. Key will be placed in application properties not in separated file in resource.

  • update documentaion,
  • add key to properties,
  • remove key from resource,
  • change logic for get key.
Actions #1

Updated by Ondřej Kopr over 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ondřej Kopr over 6 years ago

I retained backward compatibility with key that is in resource. For first is checked application poperties if contains key, if not check for path for file wit key. If application properties doesnt contains key or path use original logic for crypt confidential storage.

Also change initializing Cipher, now is Cipher initialized only once (constructor)

Actions #3

Updated by Ondřej Kopr over 6 years ago

  • Subject changed from Chnage encrypted key for confidential storage to Change encrypted key for confidential storage
Actions #4

Updated by Ondřej Kopr over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda
  • % Done changed from 0 to 90

Implemented new three way to set secret key for confidetial storage.

  • set key by application property,
  • set key path by application property,
  • original way by key in resource.

commit: https://github.com/bcvsolutions/CzechIdMng/commit/07562902844a5943d2d61c73b12e8302629df663

please Vitek could you make a review? Thank you.

Actions #5

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Vít Švanda to Ondřej Kopr

Ondra, where is documentation for this feature? ;)

Actions #6

Updated by Ondřej Kopr over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda
Actions #7

Updated by Ondřej Kopr over 6 years ago

Actions #8

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Vít Švanda to Ondřej Kopr

Did review and test ... works fine.

I have only one comment for documentation, where missing clear definition order of using source of key (1. Property, File, Demo key).
Please complete the documentation and close this task.

Actions #9

Updated by Vít Švanda over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

I completed documentation.

Actions #10

Updated by Radek Tomiška over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF