IP Library Granted Patent US 12,355,877
Granted Patent B2
US 12,355,877 · App. 17/895,375 · Granted Jul 8, 2025

Method for signing key management by electronic device, and electronic device therefor

Inventors: Myeongjin Oh (Suwon-si, KR); Moonkyung Kim (Suwon-si, KR); Seyeong Lee (Suwon-si, KR); Yeongsu Lee (Suwon-si, KR); Jonghyeon Lee (Suwon-si, KR); Yeonggeun Choe (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04L9/0894G06F8/61H04L9/0838H04L9/14
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,355,877
App. No.
17/895,375
Granted
Jul 8, 2025
Kind
B2
Abstract

Disclosed is an electronic device comprising: a memory in which instructions are stored; and a processor electrically connected to the memory. The processor, when the instructions stored in the memory are executed: acquires a command for installation of a first application signed with a first key; checks information relating to the first key in a key storage of the electronic device; if the first key is determined to be valid, installs the first application; and if the first key is determined to have been revoked, controls to prohibit installation of the first application.

Claims (42)

1. An electronic device comprising:

a memory storing instructions and information on applications installed in the electronic device; and

a processor configured to execute the instructions to:

acquire a command for installing a first application signed by a first key,

identify information on the first key within a key storage space stored in the memory of the electronic device, wherein the information on the first key is stored in the key storage space separately from a storage space storing the information on applications,

install the first application in response to determining that the first key is valid based on the identified information, and

prevent installation of the first application in response to determining that the first key is discarded based on the identified information,

wherein, when identifying the information on the first key, the processor is further configured to execute the instructions to:

identify a status flag for the first key among a plurality of keys stored in the key storage space, the status flag indicating whether either the first key is valid or the first key was registered in the key storage space and then discarded.

2. The electronic device of claim 1 , wherein, in response to identifying that the information on the first key does not exist within the key storage space, the processor is further configured to execute the instructions to:

install the first application.

3. The electronic device of claim 2 , wherein, in response to identifying that the information on the first key does not exist within the key storage space, the processor is further configured to execute the instructions to:

register the information on the first key in the key storage space.

4. The electronic device of claim 1 , wherein the key storage space comprises a database that stores information on a key of an application installed in the electronic device.

5. The electronic device of claim 4 , wherein the information on the key of the application installed in the electronic device comprises at least one of a history for registration of the key in the key storage space or a history for discarding of the key which has been registered in the key storage space.

6. The electronic device of claim 5 , wherein the history for discarding of the key comprises, a history of discarding an original key used to sign when the application is installed in the electronic device registered in the key storage space, when the application is updated by a key different from the original key.

7. The electronic device of claim 1 , wherein the first application is signed by an original signature key equal to a second application and has an equal shared user identification (UID), and the processor is configured to determine whether to share resources between the first application and the second application according to whether an application list included in the first application identifies the second application.

8. The electronic device of claim 1 , wherein in response to determining that the first key is discarded based on the identified information, the processor is further configured to execute the instructions to:

determine whether to prevent installation of the first application in response to a user input.

9. A method of managing a signature key by an electronic device, the method comprising:

acquiring a command for installing a first application signed by a first key;

identifying information on the first key within a key storage space of the electronic device, wherein the information on the first key is stored in the key storage space separately from a storage space storing information on applications;

installing the first application in the electronic device in response to determining that the first key is valid based on the identified information; and

preventing installation of the first application in response to determining that the first key is discarded based on the identified information,

wherein the identifying of the information on the first key within the key storage space comprises identifying a status flag for the first key among a plurality of keys stored in the key storage space, the status flag indicating whether either the first key is valid or the first key was registered in the key storage space and then discarded.

10. The method of claim 9 , further comprising:

installing the first application, in response to identifying that the information on the first key does not exist within the key storage space; and

registering the information on the first key in the key storage space, in response to identifying that the information on the first key does not exist within the key storage space.

11. The method of claim 9 , wherein the key storage space comprises a database that stores information on a key of an application installed in the electronic device.

12. The method of claim 11 , wherein the information on the key of the application installed in the electronic device comprises at least one of a history for registration of the key in the key storage space or a history for discarding of the key which has been registered in the key storage space.

13. The method of claim 12 , wherein the history for discarding of the key comprises, a history of discarding of an original key used to sign when the application is installed in the electronic device registered in the key storage space, when the application is updated by a key different from the original key.

14. A non-transitory computer readable medium for storing computer readable program code or instructions for carrying out operations, when executed by a processor, for managing a signature key by an electronic device, the operations comprising:

acquiring a command for installing a first application signed by a first key;

identifying information on the first key within a key storage space of the electronic device, wherein the information on the first key is stored in the key storage space separately from a storage space storing information on applications;

installing the first application in the electronic device in response to determining that the first key is valid based on the identified information; and

preventing installation of the first application in response to determining that the first key is discarded based on the identified information,

wherein the identifying of the information on the first key within the key storage space comprises identifying a status flag for the first key among a plurality of keys stored in the key storage space, the status flag indicating whether either the first key is valid or the first key was registered in the key storage space and then discarded.

15. The non-transitory computer readable medium of claim 14 , further comprising:

installing the first application, in response to identifying that the information on the first key does not exist within the key storage space; and

registering the information on the first key in the key storage space, in response to identifying that the information on the first key does not exist within the key storage space.

16. The non-transitory computer readable medium of claim 14 , wherein the key storage space comprises a database that stores information on a key of an application installed in the electronic device.

17. The non-transitory computer readable medium of claim 16 , wherein the information on the key of the application installed in the electronic device comprises at least one of a history for registration of the key in the key storage space or a history for discarding of the key which has been registered in the key storage space.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 26, 2022
From: OH, MYEONGJIN; KIM, MOONKYUNG; LEE, SEYEONG; LEE, YEONGSU; LEE, JONGHYEON; CHOE, YEONGGEUN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 060912/0469 →
Priority Claims (1)
KR 10-2020-0023268 · Feb 25, 2020 · national
Continuity (2)
Continuation PCTKR2021002102 · Feb 19, 2021
Related Publication 20220417016A1 · Dec 29, 2022
References Cited (20)
US 8387141B1 · Zhukov et al. · 2013 [cited by applicant]
US 8429410B2 · Little et al. · 2013 [cited by applicant]
US 9894045B1 · Mao · 2018 [cited by examiner]
US 20030145317A1 · Chamberlain · 2003 [cited by applicant]
US 20060026690A1 · Yu et al. · 2006 [cited by applicant]
US 20070087765A1 · Richardson et al. · 2007 [cited by applicant]
US 20110244830A1 · Chesnutt et al. · 2011 [cited by applicant]
US 20120131349A1 · Layson et al. · 2012 [cited by applicant]
US 20130283377A1 · Das et al. · 2013 [cited by applicant]
US 20140090077A1 · Jeong et al. · 2014 [cited by applicant]
US 20160212104A1 · Niemela · 2016 [cited by applicant]
US 20160224769A1 · Bushman · 2016 [cited by examiner]
US 20170116427A1 · Major · 2017 [cited by examiner]
EP 1826982A1 · 2007 [cited by applicant]
JP 2003122588A · 2003 [cited by applicant]
KR 1020140044991A · 2014 [cited by applicant]
WO 2013063791A1 · 2013 [cited by applicant]
Communication dated Jul. 17, 2023, issued by European Patent Office in European Patent Application No. 21759910.9. [cited by applicant]
Communication dated Jun. 9, 2021, issued by the International Searching Authority in counterpart International Application No. PCT/KR2021/002102 (PCT/ISA/210). [cited by applicant]
Communication dated Jun. 9, 2021, issued by the International Searching Authority in counterpart International Application No. PCT/KR2021/002102 (PCT/ISA/237). [cited by applicant]