credentials

Where is my remote git repository password stored on the local machine?

一世执手 提交于 2020-11-30 08:20:07
问题 I have a git repository set up on bitbucket $ git remote -v origin https://myusername@bitbucket.org/myusername/my_repository_name.git (fetch) origin https://myusername@bitbucket.org/myusername/my_repository_name.git (push) I pull and push to the repository from my office workstation and home PC. When I push or pull from my office workstation, it prompts me for the password. However when I push or pull from my home PC it doesn't prompt for a password. I don't specifically remember what I did

How to map Windows API CredWrite/CredRead in JNA?

天大地大妈咪最大 提交于 2020-08-25 07:56:38
问题 I'm trying to map CredWrite/CredRead in JNA in order to store a thrid party credential used in my Java application in Windows Credential Manager (OS Windows 10). Here're the original signatures in C: // https://msdn.microsoft.com/en-us/library/aa375187(v=vs.85).aspx BOOL CredWrite( _In_ PCREDENTIAL Credential, _In_ DWORD Flags ); // https://msdn.microsoft.com/en-us/library/aa374804(v=vs.85).aspx BOOL CredRead( _In_ LPCTSTR TargetName, _In_ DWORD Type, _In_ DWORD Flags, _Out_ PCREDENTIAL