Jump to content

Password manager

From Wikipedia, the free encyclopedia

Bitwarden is an example of a password manager. Pictured above is its vault interface showing a saved login entry, which keeps one's usernames and passwords.

A password manager is software that stores usernames and passwords in a collection called a password vault. The vault is intended to be encrypted, and its encryption key is commonly derived from a master password chosen by the user. Most password managers can generate passwords, save credentials as they are entered, and fill them when the user returns. Some can also synchronize records between devices, share credentials with other users, and store payment-card details, notes, and documents.

Password managers are available as standalone applications, browser extensions, features built into web browsers, and services integrated with an operating system. A vault may remain on one device, be synchronized through a provider's servers, or be copied between devices through a separate file-storage service. By generating and storing a different password for each account, a password manager can reduce the need to memorize many passwords or reuse the same password across accounts.

Because a single vault may contain credentials for many accounts, the vault and its master password are valuable targets for attack. Security depends on how the vault is protected and on features such as autofill, synchronization, sharing, and account recovery. Users may also avoid or stop using password managers because of concerns about security or control, inconvenience, or compatibility with websites.

Password managers have existed since the 1990s. They later became available as browser components, mobile applications, cloud-based services, and features built into an operating system. Some password managers can also create and store passkeys, login credentials based on public-key cryptography that can replace passwords or serve as an additional authentication factor.

Operation and features

[edit]

A password manager keeps login credentials, such as usernames and passwords, in a repository known as a password vault.[1] Ideally, the vault is encrypted using a key generated from a password chosen by the user, commonly known as the master password.[1] Some password managers offer multi-factor authentication for access to the password database.[2] Cloud-based password managers generally keep server-side vault data encrypted while encryption and decryption are performed by the user's client. The client sends encrypted data to the service and decrypts retrieved data locally.[3]

Password generation is a common feature of modern password managers, where users can configure properties such as length, permitted characters, and composition requirements.[1] Because the result is stored in the vault, users can assign separate generated passwords to different accounts without memorizing each one.[4] Some password managers also flag duplicate passwords or credentials that may need to be changed.[5] When a user enters a password manually on a login form, the password manager may prompt them to add that credential to the vault.[6] When the user returns, it can match the stored record to the site and fill the username and password fields.[7] Autofill may occur automatically or require user interaction, depending on the password manager and context. If several accounts are stored for a site, the user can select which account to use.[8]

Cloud-based services can synchronize an encrypted vault so that the same records are available on several devices.[3] Some cloud services support sharing vault data with other authorized users, including household or organizational groups, and may also provide account-recovery features.[9] Vaults can also contain non-login information, such as payment-card details, notes, and personal documents.[9]

Deployment models

[edit]

Password managers may be standalone applications, browser extensions, or features built into a web browser. Some products are available in more than one of these forms.[10] A desktop application may work with a browser extension to fill saved credentials into website login forms.[10] Apple's iCloud Keychain can enable passwords and passkey synchronization across Apple devices approved by the user.[11] In Google's ecosystem, passwords and passkeys can be saved to a Google Account and used to sign in to apps and websites on devices using that account.[12]

A locally maintained password database is stored on the user's own device rather than on a provider-controlled server.[2] Some standalone password managers require users to synchronize their vaults manually rather than providing built-in cloud synchronization.[10] A vault file can instead be synchronized between devices through a separate file-sync service rather than through the password manager provider.[13] A separate backup helps preserve access to a locally maintained password database if the device is lost or stolen.[2]

In a cloud-synchronized password manager, encrypted vault data is kept on a remote server and synchronized with the user's devices.[3] Some services allow organizations to run the storage server on their own systems instead of using the vendor's server.[3] Bitwarden organizations can group shared records into collections and assign access to individual users or groups.[14] 1Password Business provides administrative policies for authentication, sharing and permissions, and single sign-on.[15]

History

[edit]

Password management software dates back to the 1990s.[16] PassKeeper was available by March 1996.[17] The Microsoft Windows-based utility lets users to organize credentials and notes in an encrypted file.[18] In September 1997, Counterpane Systems released Password Safe, a free utility for Windows 95.[19] It stored its password database on the user's computer, protected it with Blowfish encryption, and used a single "Safe Combination" to access the saved passwords.[20] The first version of 1Password, then named 1Passwd, was released on May 19, 2006 and LastPass was founded in 2008.[21][22] Dashlane had been operating since 2012,[23] and the open-source Bitwarden launched in 2016.[24]

In June 2013, Apple announced iCloud Keychain for OS X Mavericks. The built-in password manager used iCloud to synchronize passwords only with trusted devices.[25] By 2014, password managers were built into browsers, offered by third parties, and available on mobile platforms. Some also backed up passwords to the cloud and synchronized them across devices.[26] In 2022, Google began rolling out a common password-management interface in Chrome and Android settings.[27] Apple released the Keychain-based Passwords app in 2024 for accessing credentials including passwords, passcodes, and verification codes.[28]

Security model

[edit]

When properly implemented and used, a password manager makes it practical to use a different generated password for each account without having to remember them all.[1] Use of password managers is associated with stronger password choices, particularly when a password generator is included.[29] Because one vault may contain credentials for many accounts, the password manager and its master password are valuable targets for attack.[30] One threat model assumes that the password manager server is fully malicious and may depart arbitrarily from its expected behavior. Under this model, expected protections include keeping vault contents secret, detecting unauthorized changes to vault data and metadata, and limiting sharing and account recovery to the intended users.[9]

Vault protection

[edit]

The master password is commonly used to create the key that encrypts the vault.[1] An attacker who obtains a copy of an encrypted vault may try to guess its master password offline. To make offline guessing more expensive, password managers commonly apply deliberately slow password-based key derivation or hashing to the master password.[31] In a 2020 evaluation, some password managers left particular metadata unencrypted, including site addresses, usernames, account-use information, or security-related settings, depending on the product.[8] If integrity checks do not cover the vault as a whole, a malicious server may be able to alter, remove, or rearrange vault data without detection.[9]

Autofill and phishing

[edit]

Password managers generally associate stored credentials with particular websites and may decline to suggest or fill them when the current address does not match.[30] Automatic filling can expose a stored password to malicious code on a compromised page without requiring the user to select the credential.[8] In a 2014 test, six of ten password managers were vulnerable to an attack in which a rogue Wi-Fi network loaded login pages in invisible frames and captured autofilled passwords.[32] Requiring the user to initiate filling prevents this kind of silent sweep attack, but user interaction alone does not eliminate all autofill risks.[33]

A malicious website can also imitate the unlock interface of a password manager browser extension.[30] In a 2025 phishing simulation involving 29,809 people at an educational institution, one of four targeted third-party password managers was detected in 448 participants. One hundred and forty of those users (31.25%) entered their master password into the imitation interface.[34] A stolen master password can expose stored credentials, and phishing-resistant multi-factor authentication adds a separate barrier to using the stolen password.[35]

Client security

[edit]

A password manager's client can be targeted through malicious websites, rogue applications on the user's device, or adversarial networks.[31] Browser-based autofill can be abused when credentials are released to a compromised page. User interaction prompts can themselves be exploited through clickjacking, where a deceptive page conceals or disguises the control being activated.[36] These client-side and network attacks differ from offline attacks in which an adversary first obtains an encrypted copy of the vault.[31]

Cloud storage, sharing, and recovery

[edit]

Cloud-based password managers often describe their client-side encryption as "zero-knowledge encryption". In this usage, encryption is intended to prevent the provider from seeing the plaintext contents of the vault.[3] The term has no strict technical definition. A 2026 analysis interpreted the vendors' security claims as implying protection even when the server behaves maliciously.[37] That analysis identified 25 attacks against Bitwarden, LastPass, and Dashlane under this malicious-server threat model.[3] The attacks involved weaknesses in account recovery and sharing, failures to verify public keys, incomplete protection against changes to an entire vault, and legacy cryptographic compatibility.[9]

A 2024 study examined injection attacks in which a victim first accepts a shared item that the attacker can later update. Depending on the product, those updates could affect password-health metrics, site-icon requests, compressed vault size, or attachment deduplication.[38] Across the ten password managers studied, different attack variants could reveal passwords, usernames, website addresses, or attachment contents.[31] The first four vendors notified had deployed mitigations by the time of the study's publication, but disclosure to the remaining six was still underway. The paper described general-purpose detection and mitigation techniques against injection attacks as a direction for future research.[39]

Password generation

[edit]

The strength of a generated password depends on how unpredictably it is chosen and on settings such as its length and the characters the generator can use.[40] A 2020 evaluation generated 147 million passwords and found a small fraction of shorter outputs vulnerable to guessing attacks, including passwords under 10 characters in its online-attack tests and under 18 in its offline-attack tests.[41]

A flaw reported in Kaspersky Password Manager used the system time to seed a pseudorandom-number generator that was not intended for cryptographic use.[42] Because system time was used as the seed, Kaspersky Password Manager could generate the same password on different installations during the same second. Information about when a password was generated could substantially narrow the guesses an attacker needed to try.[43] Kaspersky rolled out fixes between October and December 2019 and added a warning in October 2020 telling users to regenerate affected weak passwords.[42]

Usability and human factors

[edit]

Password managers can reduce the burden of remembering many passwords, but using them also involves choices about trust, handling master password, password generation, and synchronization.[44] When they do not work as intended, some users resort to less secure methods, such as reusing old weak passwords or recording passwords outside the password manager.[45]

Adoption and trust

[edit]

A 2019 interview study of 30 password manager users and non-users found that those who relied on password managers built into browsers or operating systems were often drawn to them by convenience, while users who had installed a separate password manager more often named security as a reason for doing so.[46] Barriers to adopting a separate password manager included limited awareness, security concerns, a sense that there were too few passwords or little important data to justify using one, and discomfort with generated passwords that could not be remembered.[46] Some participants were unsure whether password-saving prompts came from the browser, the website, or the computer, and also where saved passwords were stored or whether the provider could read them.[46]

A 2021 interview study examined 26 adults over the age of 60, whose average age was 70.4 years.[47] Participants expressed concern about cloud storage, cross-device synchronization, loss of control over private information, and the consequences of keeping many passwords behind one point of access.[48] Recommendations and advice from family members or close friends were important influences on adoption among these participants.[49]

Setup and routine use

[edit]

A longitudinal study gave 37 first-time users a three-month password manager license and surveyed them weekly during the first month, with a final follow-up. Of the 33 who completed the first weekly questionnaire, 19 remained by week four, a 42% drop.[50] Participants who later dropped out had lower first-week usability ratings than those who remained through week four.[51] Reported trust increased over the study, while usability ratings among the 19 participants who completed all four weekly questionnaires stayed roughly stable.[51]

Participants often found repeated master-password entry frustrating. When asked how they had created their master password, 44% of the responses described total or partial reuse of an existing password or personal information.[52] By week four, 78.94% of the remaining participants had warnings for weak or reused passwords. Despite seeing the password-health dashboard each week, none of them changed those credentials during the study.[53] Interviews in 2019 similarly found that users often retained weak or reused passwords when they first adopted a separate password manager and replaced them gradually over time.[54]

Compatibility problems can interrupt registration or login when a password manager fails to offer password generation, saves or fills a credential incorrectly, or generates a password that the website rejects.[55]

Effects on password practices

[edit]

Using password managers is not consistently associated with stronger passwords or less reuse. Outcomes vary with how passwords are created, stored, and entered.[56] A 2018 study surveyed 476 people and collected browser data from 170 of them. In the browser sample, users who relied on password generators had stronger passwords and less reuse than those who created passwords manually.[56] Among recorded entries, 20% of Chrome-autofilled passwords and 25% of manually entered passwords were not reused, compared with 53% for LastPass and 78% for copy-and-paste. However, the study cautioned that the copy-and-paste subgroup was too small for firm conclusions.[57]

In an online experiment using simulated browser password manager prompts, the prompt design was associated with whether participants used the generated password.[58] Among 558 participants, 61.5% in the simulated Safari condition used the generated password, compared with 35.2% in the Chrome condition and 41% in the Firefox condition. The difference was statistically significant.[59] Acceptance was higher among participants who noticed the prompt and among those who had used a password generator before. Prior password manager use itself was not significantly associated with acceptance.[60]

Adoption

[edit]

In a nationally representative Pew Research Center survey of 5,101 U.S. adults conducted in May 2023, 32% reported using a password manager, up from 20% in 2019.[61] Reported use was 49% among adults ages 18–29 and 37% among those ages 30–49. For adults aged 50 or above, the share was 25% or less.[61] Use also varied by education, where the reported use was 26% among adults with a high school education or less, 34% among those with some college education, and 38% among those with a bachelor's degree or higher.[61]

The Australian Cybercrime Survey estimated secure password manager usage at 25.0% in 2023 and 26.8% in 2024, after adjusting for differences between the samples in both years.[62] The survey did not use a nationally representative probability sample, and participants were drawn from opt-in online research panels.[63] Sampling quotas covered age, gender and place of residence, while weighting accounted for age, place of residence, education, internet use and social-media use.[64]

In an October 2024 online poll of 1,000 U.S. adults, 32% of password manager users primarily used Google Password Manager, followed by Apple's iCloud Keychain or Passwords app at 23%, LastPass at 11%, and Bitwarden at 10%. In the same poll, 79% of password manager users said that they paid nothing for the service.[65]

Interaction with websites and applications

[edit]

Web forms

[edit]

On a website, a password manager needs to recognize which fields contain a username, an existing password, or a new password so it can handle the credentials correctly.[66] The HTML autocomplete attribute can label these fields as username, current-password, and new-password, indicating what kind of value each field expects.[67] Standard HTML forms, appropriate input types, and correctly chosen autocomplete values make it easier for password managers to recognize fields and offer the appropriate generation, saving, or autofill action.[66]

Password managers can still run into problems when a site uses non-standard forms or password requirements that conflict with passwords generated by the password manager.[68] Testing from June to December 2022 found registration or login usability issues on more than a quarter of the 61 websites for which testing was completed, but the rate varied among Chrome, Safari, Bitwarden, and Keeper.[69] Among the 60 websites where passwords were generated, 19 rejected at least one password produced by the four tested password managers because it conflicted with the site's password requirements.[70]

Restrictions and compatibility

[edit]

Some websites have tried to limit password manager usage by blocking pasted passwords or by using HTML settings that ask browsers not to save or automatically fill login fields. In 2015, British Gas used onpaste="return false" on a password field and said it had chosen not to provide compatibility with password managers. Following criticism, the company said it would reconsider its approach.[71] Paste restrictions were also found on T-Mobile, the German Barclaycard site, and Western Union. T-Mobile said its restriction was unintended and later removed it.[72]

A site can use autocomplete="off" to ask the browser not to retain a field's value for later auto-completion, but modern browsers generally ignore it for username and password fields.[73] For other fields, autocomplete="off" can still discourage later auto-completion. A password field meant for a newly assigned password can instead use autocomplete="newpassword".[73]

The National Institute of Standards and Technology (NIST) guidance, NIST SP 800-63B, requires password verifiers to allow password managers and autofill, and recommends allowing passwords to be pasted when autofill APIs are unavailable.[29] OWASP (Open Worldwide Application Security Project), in its Authentication Cheat Sheet, similarly recommends standard HTML username and password fields, support for passwords up to at least 64 characters and for printable characters, and the ability to paste into username, password, and multifactor authentication fields.[74]

Native applications

[edit]

Android version 8 and later versions provide an autofill framework that lets services such as password managers fill supported fields in other apps.[75] A newer Credential Manager integration lets apps link username and password fields to credential requests, so credentials from available providers can appear in autofill suggestions.[76]

Apple's Password AutoFill links an app to a website through an associated-domain relationship. Developers set this up by declaring the domain in the app's entitlement and publishing a matching association file on the website.[77] Inline Password AutoFill suggestions are limited to credentials for the app's associated domains, but users can open the system credential list to choose another saved login.[78] Developers can identify text fields as username, password, new-password, or other supported content types so Password AutoFill can present suitable suggestions.[79]

Relationship to passkeys

[edit]

Some password managers can also act as providers for passkeys, creating, storing, and managing them for the user.[80] A passkey is a login credential based on public-key cryptography, using a public key stored by the service and a corresponding private key kept by the user's authenticator.[81] Unlike passwords, passkeys do not require the user to send a shared secret to the website. The user instead approves the sign-in through the device or password manager, and the service verifies a cryptographic response.[80][81]

A passkey may remain on one authenticator or be synchronized by a provider across several of the user's devices.[80] Synchronization can make existing passkeys available on a replacement device without requiring the user to register a separate passkey for each device.[82] A properly configured synced passkey is tied to the site for which it was registered, so an authentication response obtained by a phishing site cannot be reused at the legitimate service.[29] When synchronized passkeys are backed up by a cloud-based provider, however, compromise of that storage can expose their private signing keys.[83]

See also

[edit]

References

[edit]
  1. 1 2 3 4 5 Oesch & Ruoti 2020, p. 2166.
  2. 1 2 3 "Cyb3R_Sm@rT!: Use a Password Manager to Create and 'Remember' Strong Passwords". Cybersecurity and Infrastructure Security Agency.
  3. 1 2 3 4 5 6 Scarlata et al. 2026, p. 4267.
  4. Oesch & Ruoti 2020, pp. 2165–2166.
  5. Waschke 2017, p. 198.
  6. Oesch & Ruoti 2020, p. 2175.
  7. Oesch & Ruoti 2020, pp. 2166, 2175.
  8. 1 2 3 Oesch & Ruoti 2020, p. 2174.
  9. 1 2 3 4 5 Scarlata et al. 2026, p. 4268.
  10. 1 2 3 Oesch & Ruoti 2020, p. 2167.
  11. "Use the Passwords app to create, manage, and share passwords and passkeys across Apple devices". Apple Inc.
  12. "Use passwords and passkeys across your devices". Google.
  13. Cheng et al. 2021, p. 857.
  14. "About collections". Bitwarden.
  15. "Manage team policies in 1Password Business". 1Password, 2026.
  16. Garfinkel & Lipford 2014, p. 37.
  17. Tweney 1996, p. 291.
  18. "PassKeeper".
  19. "Keeping Secrets in the Digital Age". The Daily Yomiuri, 1997.
  20. "Counterpane Systems Brings the Security of Blowfish to a Password Database". Counterpane Systems, 1997.
  21. "1Password partners with Accel for continued growth". 1Password, 2019.
  22. "About Us". LastPass.
  23. "Dashlane's Super Bowl Ad Proves Password Managers Have Arrived". Wired, 2020.
  24. "Q&A with Bitwarden Founder and CTO". Bitwarden, 2022.
  25. "Apple's New iCloud Keychain Stores Sensitive Data Across Devices". Wired, 2013.
  26. Silver et al. 2014, p. 449.
  27. "Staying safe online with our updated Google Password Manager". Google, 2022.
  28. "iOS 18 is available today, making iPhone more personal and capable than ever". Apple Inc., 2024.
  29. 1 2 3 "NIST Special Publication 800-63B: Digital Identity Guidelines: Authentication and Authenticator Management". National Institute of Standards and Technology, 2025.
  30. 1 2 3 Anliker, Lain & Čapkun 2025, p. 7857.
  31. 1 2 3 4 Fábrega et al. 2024, p. 4337.
  32. Silver et al. 2014, pp. 449–450.
  33. Silver et al. 2014, p. 458.
  34. Anliker, Lain & Čapkun 2025, pp. 7858, 7864, 7869.
  35. Anliker, Lain & Čapkun 2025, pp. 7857, 7868.
  36. Oesch & Ruoti 2020, pp. 2174–2175.
  37. Scarlata et al. 2026, pp. 4267, 4270.
  38. Fábrega et al. 2024, pp. 4341–4348.
  39. Fábrega et al. 2024, pp. 4337–4339.
  40. Oesch & Ruoti 2020, pp. 2169–2170.
  41. Oesch & Ruoti 2020, p. 2165.
  42. 1 2 "Kaspersky Password Manager's random password generator was about as random as your wall clock". The Register, 2021.
  43. "Kaspersky Password Manager Generated Passwords That Could Quickly Be Brute-Forced". SecurityWeek, 2021.
  44. Pearman et al. 2019, pp. 319, 322–323, 329.
  45. Pearman et al. 2019, p. 328.
  46. 1 2 3 Pearman et al. 2019, p. 329.
  47. Ray et al. 2021, p. 73.
  48. Ray et al. 2021, pp. 73, 84.
  49. Ray et al. 2021, p. 84.
  50. Cabarcos & Mayer 2025, pp. 351, 356, 359.
  51. 1 2 Cabarcos & Mayer 2025, p. 357.
  52. Cabarcos & Mayer 2025, p. 356.
  53. Cabarcos & Mayer 2025, pp. 358–359.
  54. Pearman et al. 2019, p. 330.
  55. Hutchinson et al. 2024, pp. 6–7.
  56. 1 2 Lyastani et al. 2018, pp. 203, 215.
  57. Lyastani et al. 2018, pp. 211, 215.
  58. Zibaei et al. 2022, p. 585.
  59. Zibaei et al. 2022, p. 586.
  60. Zibaei et al. 2022, pp. 587–588.
  61. 1 2 3 McClain et al. 2023, p. 36.
  62. Voce & Morgan 2025, p. 44.
  63. Voce & Morgan 2025, p. 13.
  64. Voce & Morgan 2025, p. 5.
  65. "2024 Password Manager Industry Report and Statistics". Security.org, 2026.
  66. 1 2 "Passwords". MDN Web Docs, 2026.
  67. "Autofilling form controls: the autocomplete attribute". WHATWG.
  68. Hutchinson et al. 2024, p. 10.
  69. Hutchinson et al. 2024, pp. 5, 10.
  70. Hutchinson et al. 2024, p. 7.
  71. "British Gas bows to criticism over blocking password managers". SC Magazine UK, 2015.
  72. "Websites, Please Stop Blocking Password Managers. It's 2015". Wired, 2015.
  73. 1 2 "How to turn off form autocompletion". MDN Web Docs, 2025.
  74. "Authentication Cheat Sheet". OWASP.
  75. "Autofill framework". Google, 2026.
  76. "Integrate Credential Manager with autofill". Google, 2026.
  77. "Supporting associated domains". Apple Inc.
  78. "About the Password AutoFill workflow". Apple Inc.
  79. "Enabling Password AutoFill on a text input view". Apple Inc.
  80. 1 2 3 "FIDO Passkeys: Passwordless Authentication". FIDO Alliance.
  81. 1 2 "Web Authentication: An API for Accessing Public Key Credentials – Level 3". World Wide Web Consortium, 2026.
  82. "Replacing Password-Only Authentication with Passkeys in the Enterprise". FIDO Alliance, 2024.
  83. Islam et al. 2025, p. 7743.

Sources

[edit]

Books and book chapters

[edit]
  • Garfinkel, Simson L.; Lipford, Heather R. (2014). Usable Security: History, Themes, and Challenges. Morgan & Claypool Publishers. doi:10.2200/S00594ED1V01Y201408SPT011. ISBN 978-1-62705-529-1.

Conference papers

[edit]

Reports and studies

[edit]

News and media

[edit]

Company sources

[edit]
  • "About Us". LastPass. Retrieved September 16, 2026.

Product documentation

[edit]

Standards and guidance

[edit]